How do I debug “Error: spawn ENOENT” on node.js?

When I get the following error: events.js:72 throw er; // Unhandled ‘error’ event ^ Error: spawn ENOENT at errnoException (child_process.js:1000:11) at Process.ChildProcess._handle.onexit (child_process.js:791:34) What procedure can I follow to fix it? Author note: Lots of issues with this error encouraged me to post this question for future references. Related questions: using spawn function with NODE_ENV=production … Read more