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
3 Answers
Reset to default 2What 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.
本文标签:
版权声明:本文标题:Getting "'node' is not recognized" error when running JavaScript with Code Runner in VS Code - 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744536347a2611338.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论