nodeenv
nodeenv copied to clipboard
Failed using system node in nodeenv if binary isn't called `nodejs`
nodeenv 0.13.6, node 5.10.1
# nodeenv -n system .nodeenv
which: no nodejs in (<PATH stripped>)
I use symlink to workaround this (sudo ln -s /usr/bin/node /usr/local/bin/nodejs)
In Debian/Ubuntu, there is a package called nodejs-legacy that does exactly this.
It contains a link to an explanation on why the binary should be called nodejs not node
It would be nice if nodeenv tried nodejs before node when installing node from the system.