第一次更新后出现错误,之后再更新就一直出现这样的错误
找不到这个模块可是npm install -g重新安装还是出现同样的错误,请问要怎么办?
高洛峰2017-04-17 16:29:32
Provide an idea on how to do it, Google and Baidu.
The path of the node in the system variable is wrong.
npm-cli should be there, but it can’t be found based on the path. Take a look at its current path pointing to
Then modify the path, provide a reference, and change it to
C:Program Filesnodejs
try it
The fastest solution is to reinstall, but you will learn a lot if you are willing to spend time thinking about it.
怪我咯2017-04-17 16:29:32
Too lazy to worry, I just uninstalled nodejs, deleted the directory and reinstalled it