When using npm install --global elm to install elm on Debian/Ubuntu, the process bails out with message sh: 1: node: not found. This is a known issue and arises because Debian systems rename the node binary to nodejs. The solution is to install the package nodejs-legacy before installation.
However, the solution is not documented in the readme. The solution is also not evident from the error message. Please put up a note in the readme. Something like: on Debian/Ubuntu systems, install the nodejs-legacy package before installation.
When using
npm install --global elm
to install elm on Debian/Ubuntu, the process bails out with messagesh: 1: node: not found
. This is a known issue and arises because Debian systems rename the node binary to nodejs. The solution is to install the packagenodejs-legacy
before installation.However, the solution is not documented in the readme. The solution is also not evident from the error message. Please put up a note in the readme. Something like: on Debian/Ubuntu systems, install the nodejs-legacy package before installation.