‘npm’ is not recognized as an internal or external command, operable program or batch file

Posted by

Error:

C:\xampp\htdocs\redis_ques>npm' is not recognized as an internal or external command,
'npm'' is not recognized as an internal or external command,
operable program or batch file.

Sulotion:

Step 1 : install node.js

Step 2 : Go to Environment Variables on the System Properties.

right click on MyComputer->properties->advance system setting-> Environment variables-> select & edit “Path” variable in System variables.

Step 3: Add C:\Program Files\nodejs\ in path

After that error is solved

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x