When I use visual studio code to debug a nodejs app. visual studio code tell me request \'launch\': cannot launch target (reason: spawn node ENOENT)
request \'launch\': cannot launch target (reason: spawn node ENOENT)
Some discussions are posted in this here
How do I debug "Error: spawn ENOENT" on node.js?
Especially, the following points should be checked
PATH
PATHEXT