Saturday, 22 April 2017

node js is not working when i run 'npm start' command on live server/production server

When i run "npm start" command on production server through putty it gives this following error.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! cbaapi@0.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the api@0.0.0 start script 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/www
npm ERR! You can get information on how to open an issue for this project 
with:
npm ERR!     npm bugs cbaapi
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls cbaapi
npm ERR! There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:

Please help me.



via Raheel Aslam

No comments:

Post a Comment