我得到npm不被认为是内部或外部命令 .
用户变量Path设置为:%AppData%\ npm; C:\ Program_Files \ nodejs \ node_modules \ npm; C:\ Program_Files \ nodejs;
我试过npm版本5.0和3.10.8 .
Error screenshot
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.
1 回答