I am deploying test-bot on ibm watson as described here https://github.com/eciggaar/text-bot and when I am trying to deploy code locally using CLI foundry it is getting the following errors.
I am using Nodejs version 6.10.3 and npm version 5.0.4
can someone please help me with this.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! text-bot@0.1.2 start: `node server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the text-bot@0.1.2 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\PRERNA CHUGH\AppData\Roaming\npm-cache\_logs\2017-06-29T13_36_22_995Z-debug.log
Sometimes, when you already started your web server, the
ELIFECYCLE
error comes if you try to run thenpm
command again on another terminal (cmd). Make sure that you don't have any other instance running up in the same port.Try to clean your cache with:
npm cache clean
with Administrator/root and delete yournode_modules
, after this steps, try to install your packages again withnpm install --save
In case you used Windows OS the PATH Environment variable was not including the directory of "node". Check it and add it. Maybe it helps.
Regards