Nishigandha Lole
Nishigandha Lole

Reputation: 19

npm not recognized as internal or external command

I am getting npm not recognized as internal or external command.

User variable Path is set to : %AppData%\npm;C:\Program_Files\nodejs\node_modules\npm;C:\Program_Files\nodejs;

I have tried with npm version 5.0 and 3.10.8 .

Error screenshot

Upvotes: 0

Views: 3407

Answers (1)

Nishigandha Lole
Nishigandha Lole

Reputation: 19

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.

Upvotes: 1

Related Questions