问题
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?
回答1:
Please read the documentation on how to install npm and node on your machine: https://code.visualstudio.com/docs/nodejs/nodejs-tutorial
来源:https://stackoverflow.com/questions/49752254/npm-not-found-from-visual-studio-code-terminal