Hi,
Running Ubuntu 14.04 and nodejs 0.10.25~dfsg2-2ubuntu1
The node binary is called nodejs (and there is no node binary) which makes gulp fail https://github.com/gulpjs/gulp/blob/master/bin/gulp.js#L1
The following would fix it (unfortunately, there is no simpler hack AFAIK):
#!/bin/sh
':' //; exec "$(command -v nodejs || command -v node)" -- "$0" "$@"
What do you think?
This looks related: https://github.com/joyent/node/issues/3911#issuecomment-8956154
Or this... https://github.com/joyent/node/issues/3911#issuecomment-12798913
:-(
I guess this is a lost cause.
https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager#ubuntu-mint-elementary-os
Closing this :-(
I also did face same issue. This is how I solved it.
sudo ln -s /usr/bin/nodejs /usr/bin/node
just in case someone came here looking for solution to this problem.
@rohanpande Weird, that fixed my issue I was having both using npm and getting the newest version of Electron, thanks!
Sorry to bump, but thanks @rohanpande!
@rohanpande, that fixed my issue..Thank you
Also my thanks to @rohanpande!
Emoji reactions only from this point forwards, please - no need to send everyone notifications 馃槂
馃帀 馃帄 馃槃 馃懐
EDIT: Check out this issue for a fix: https://github.com/gulpjs/gulp/issues/2033
Most helpful comment
I also did face same issue. This is how I solved it.
sudo ln -s /usr/bin/nodejs /usr/bin/node
just in case someone came here looking for solution to this problem.