VS cannot find the solution for node on the path: 1. Add the path of nodejs to the environment variable Path; 2. Verify whether nodejs has been added to the environment variable; 3. Restart Visual Studio Code.
The operating environment of this article: Windows 7 system, nodejs version 10.16.2, Dell G3 computer.
What should I do if vs cannot find node on path?
Visual Studio Code debugging node.js: Unable to find runtime node on PATH
First, add the path of nodejs to the environment variable Path:
Verify whether nodejs has been Add environment variables:
Then,restartVisual Studio Code,
Give it a try, is it good~
Appendix: Visual Studio Code debugging nodeJS
launch.json
Recommended study: "node.js video tutorial"
The above is the detailed content of What should I do if VS cannot find node on the path?. For more information, please follow other related articles on the PHP Chinese website!