首页 文章

npm不被认为是内部或外部命令

提问于
浏览
0

我得到npm不被认为是内部或外部命令 .

用户变量Path设置为:%AppData%\ npm; C:\ Program_Files \ nodejs \ node_modules \ npm; C:\ Program_Files \ nodejs;

我试过npm版本5.0和3.10.8 .

Error screenshot

1 回答

  • 2
    I solved by below steps:
    1.run echo %comSpec% in command prompt or terminal
    2.Check whether below entry exists 
    C:\WINDOWS\SysWOW64\cmd.exe
    3.Then remove above entry from system environment variable.
    

相关问题