1
votes

i am new in node.js and i am trying to install node.js in my Window 8 pc. node.js installed successfully but when is type command npm -v it's show Error Something like...

C:\windows\system32>npm -v

'CALL "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules \npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external com mand, operable program or batch file. 5.6.0

Image

2

2 Answers

0
votes

Quite simply, this means npm is either not installed, or else the user trying to run it doesn't have rights to execute a program on the path in question.

0
votes

Sometimes you have to add node and npm to paths manually. Here is an instruction: Installing Node.js (and npm) on Windows 10