npmvisual-studio-code

npm not found from Visual Studio code terminal


When I try to run "npm" from VS Code terminal, I get the error "The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program." This used to work in my previous laptop, so it seems I'm missing a configuration or extension?


Solution

  • Please read the documentation on how to install npm and node on your machine: https://code.visualstudio.com/docs/nodejs/nodejs-tutorial