events.js:72
throw er; // Unhandled \'error\' event
^
Error: spawn ENOENT
at errnoException (chil
In case you're experiencing this issue with an application whose source you cannot modify consider invoking it with the environment variable NODE_DEBUG
set to child_process
, e.g. NODE_DEBUG=child_process yarn test
. This will provide you with information which command lines have been invoked in which directory and usually the last detail is the reason for the failure.