Answer the question
In order to leave comments, you need to log in
Why can't I work with the terminal of all code?
PS C:\projects\docs> node
node : The name 'node' is not recognized as the name of a cmdlet, function, script file, or executable. Check the spelling of the name and the presence and correctness of the
path, then try again.
string:1 character:1
+ node
+ ~~~~
+ CategoryInfo : ObjectNotFound: (node:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Answer the question
In order to leave comments, you need to log in
The terminal in VS Code uses PowerShell by default. PowerShell reports that the "node" command does not exist.
Most likely you have not added the path to the nodejs executable file to the system PATH. In this case, you need to add it:
https://helpdeskgeek.com/windows-10/add-windows-pa...
Another option is that you don't have nodejs installed. Then you need to install it:
https://nodejs.org/
Select from the drop-down list at the top of the console instead of cmd supershell.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question