node.js - npm更新后出错,求解答
大家讲道理
大家讲道理 2017-04-17 16:27:32
0
2
488

第一次更新后出现错误,之后再更新就一直出现这样的错误

找不到这个模块可是npm install -g重新安装还是出现同样的错误,请问要怎么办?

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(2)
小葫芦

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.

刘奇

Too lazy to worry, I just uninstalled nodejs, deleted the directory and reinstalled it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template