madhums / node-express-mongoose-demo

A simple demo app using node and mongodb for beginners (with docker)

Home Page:https://nodejs-express-demo.fly.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeError : OAuth2Strategy requires a clientID option

Hybueno09 opened this issue · comments

commented

After i git clone this repo to windows system and i had typied npm install,it occurs this problem, can u tell me why? thanks

It looks like you haven't performed the cp .env.example .env step

https://github.com/madhums/node-express-mongoose-demo#install

Please read the install instructions properly.

commented

Hello , i have a new problem . When i inputed npm test ,the comman line information like this:
D:\dev\nginx\html\node-express-mongoose-demo\test\test-articles-create.js:13
const { cleanup } = require( './helper' );
SynataxError : unexpected token {
what's this problem.thanks much.

What version of node.js are you using?

If you are using node < 6, please try to upgrade to node 6+ or node latest

commented

Thanks so much. After i upgraded to node 6+, it works.