admin管理员组

文章数量:1384402

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 mand, operable program or batch file.

What does that mean?

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 mand, operable program or batch file.

What does that mean?

Share Improve this question edited Jan 4, 2021 at 13:39 Gino Mempin 29.8k31 gold badges119 silver badges166 bronze badges asked Aug 3, 2018 at 3:21 Gunacelan MGunacelan M 3273 silver badges11 bronze badges 1
  • Maybe check stackoverflow./questions/23412938/… – Akrion Commented Aug 3, 2018 at 6:53
Add a ment  | 

3 Answers 3

Reset to default 2

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/en/, and set the correct PATH environment variable.

With the error during installation of node js make sure the add path is checked before installation. When the installation is done restart the vs code. It should be fine.

本文标签: