after executing a command with execSync
which executes with sh
I noticed the following:
spawnSync /bin/sh ENOENT
bin
is currently added to PATH.
any thoughts?
after executing a command with execSync
which executes with sh
I noticed the following:
spawnSync /bin/sh ENOENT
bin
is currently added to PATH.
any thoughts?
Normally the cause is that the path where you are executing this doesn't exist
see the accepted answer in this question
This error can also be caused by passing a directory that does not exist to the cwd
. Double check that the path you are passing as the cwd
option is correct.