Node version (or tell us if you're using electron or some other framework):
Electron 1.6.2 (non-working app installed globally)
Electron 1.4.13 (working app installed as dev dependency for this app only).
I apparently installed Electron locally on one folder, and then globally later.
ShellJS version (the most recent version/Github branch you see the bug on):
ShellJS 0.7.7 (non-working app)
ShellJS 0.7.5 (working app)
Operating system:
MacOS and Ubuntu Linux 16.04 LTS
Description of the bug:
In one setup I'm using ShellJS with no issue running shells.exec() and my command runs fine.
In the new setup I'm using ShellJS with a globally installed Electron, and I get an 'Unable to find a path to node binary' message. It suggests setting the path manually, but I see some issues with this. If I distribute the app, this won't work for everyone else, right?
Example ShellJS command to reproduce the error:
Just pick one.