+ Start a Discussion
Shravan Kumar 71Shravan Kumar 71 

'npm' is not recognized as an internal or external command + VS Code + Salesforce

I am getting the error "'npm' is not recognised as an internal or external command" while creating project in VS code using Salesforce CLI. Don't know what I am missing out. Can anyone guide me.
Best Answer chosen by Shravan Kumar 71
SwethaSwetha (Salesforce Developers) 
HI Shravan,
Can you please ensure the path is appropriate in environment variables?Also, can you clarify if you are seeing this message from a long time or just today?

See below links for more information:
https://stackoverflow.com/questions/59679185/npm-is-not-recognized-as-an-internal-or-external-command-operable-program-or

https://developer.salesforce.com/forums/?id=9062I000000IEleQAG
 
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.
 
Thank you
 

All Answers

SwethaSwetha (Salesforce Developers) 
HI Shravan,
Can you please ensure the path is appropriate in environment variables?Also, can you clarify if you are seeing this message from a long time or just today?

See below links for more information:
https://stackoverflow.com/questions/59679185/npm-is-not-recognized-as-an-internal-or-external-command-operable-program-or

https://developer.salesforce.com/forums/?id=9062I000000IEleQAG
 
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful.
 
Thank you
 
This was selected as the best answer
Shravan Kumar 71Shravan Kumar 71
Thanks, Swetha. Installing NodeJs helped to fix the error.
Jivan JindalJivan Jindal
Kindly install NodeJs to fix it.It will go automatically.