记录nvm1.2.2新版本bug:error installing....The system cannot find the file specified.


文章引用

记录nvm1.2.2新版本bug:error installing....The system cannot find the file specified.
NVM installation error on Windows. Cannot find the npm file

事件原因

在部署vulfocus的web前端的时候,为了拉取相应的node版本,发生了报错。
需求版本:
node:v12.16.2
npm:6.14.4

问题原因

边查边忙,找了两三天,试了各种方法,最终发现是版本问题。
查看nvm版本

nvm -v

报错的版本是1.2.2
将nvm卸载,重装1.1.12即可

声明:一代明君的小屋|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - 记录nvm1.2.2新版本bug:error installing....The system cannot find the file specified.


欢迎来到我的小屋