bradtraversy / node_passport_login

Node.js login, registration and access control using Express and Passport
1.74k stars 1.3k forks source link

node app? #4

Closed perogi closed 5 years ago

perogi commented 7 years ago

Hi Brad,

Your README file states to use npm start. I am getting the following error

npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7

npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

Did you mean to write node app?

Thanks! perogi.

theodorklauritzen commented 7 years ago

The commit will fix the bug with npm start, so npm start does work

perogi commented 7 years ago

Thanks!

2pay commented 7 years ago

first, you must run $npm install when config mongodb connect. Run app by $npm start

theodorklauritzen commented 7 years ago

I think this issue should be closed...