Monday, April 27, 2015

Node.js on Ubuntu : npm ERR! cb() never called! npm ERR! not ok code 0

While setting up Node.js on Ubuntu I encountered the error below

npm ERR! cb() never called!
npm ERR! not ok code 0

This occurred because when I ran the command

npm install

and stopped it abruptly in between.  The solution that I found was to delete the folder "node_modules" that was created and then run the command below

npm cache clear  

after this I ran the command nmp install again and all was working fine.




Recommended Books:

No comments:

Post a Comment