When I try to run JavaScript code with Visual Studio Code, it does not run during debugging

Viewed 26

I tried to run [console.log("lala");] with Visual Studio Code, but I got an incomprehensible warning.

[can't find Node.js binary "node": path does not exist. Make sure Node.js is installed and in your PATH, or set the"runtimeExecutable" in your launch.json] ==> warning

I tried installing "Node.js Extension Pack", "Code Runner", "JavaScript code snippets", or even initializing Visual Studio Code at all, but the result was the same.

What should I do in this situation to get "lala"?

0 Answers
Related