I'm using Windows 8.1 64-bit and install npm with Windows Installer from nodejs.org. Every time i enter npm command, it always showing this message: 'CALL "C:Program Files odejs ode.exe" "C:Program Files odejs ode_modules pmin pm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file.
Error while running npm “prefix -g is not recognized as an internal or external command” not solving my problem
node -v
v6.10.0
npm -v
'CALL "C:Program Files odejs ode.exe" "C:Program Files odejs ode_modules pmin pm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file. 3.10.10
'CALL "C:Program Files odejs ode.exe" "C:Program Files odejs ode_modules pmin pm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file.
3.10.10
npm config get registry
'CALL "C:Program Files odejs ode.exe" "C:Program Files odejs ode_modules pmin pm-cli.js" prefix -g' is not recognized as an internal or external command, operable program or batch file. https://registry.npmjs.org/
https://registry.npmjs.org/
It solved now. it is not an error of nodejs PATH. But one of my environment variable named ComSpec has multiple value, it only allow one
1.4m articles
1.4m replys
5 comments
57.0k users