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

412    Asked by AndreaBailey in Salesforce , Asked on Apr 23, 2021

 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.

enter image description here

How to Fix "npm is not recognized as an internal or external command”.

Answered by Ranjana Admin

The error is because of the Node.js not installed or it has older version install latest node.js with npm from https://www.npmjs.com/get-npm

Setup user variable for the installed Node.js --> "C:Program Files
odejs

Which will solve the issue!



Your Answer

Interviews

Parent Categories