After I installed Code Runner in VS Code then used it to run my JS code, I'm getting this runtime error:
'node' is not recognized as an internal or external command, operable program or batch file.
What does that mean?
What also helped me was (after installing node) going into VS settings
, finding
code-runner.runInTerminal
and ticking it on.
The error message means you have not installed Node.js on your machine. Make sure you have installed the Node.js from https://nodejs.org/en/, and set the correct PATH
environment variable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With