If I type any Nodejs command in Vscode Terminal there comes the error
The term "nodemon" was not recognized as the name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if the path is correct (if included),
and repeat the process.
It also doesn’t works in external Terminal but it works in Terminal which isn’t opened by VSCode.
Thanks for your help!
2
Answers
You have to make sure that the variables:
C:Program Filesnodejs
C:Users(your Username)AppDataRoamingnpmnode_modules
are present in your system environment variables under the path tab.
If you’re using windows, you should use the
npx
command to run modules.It should come preinstalled alongside
npm