Error: Cannot find module 'npmlog'

cannot find module 'npmlog' - after updated npm

Thanks for the answers. It was a bug and it has already been fixed in Node v5.4.1. Now it's working as usual.

 

sudo rm -rf /usr/local/bin/npm
sudo apt-get install node
sudo mv /usr/bin/npm /usr/local/bin/npm

 

posted @ 2020-03-26 23:49  膜拜曾文正  阅读(1652)  评论(0编辑  收藏  举报