I have npm, nodejs is already installed. But when I try to install mean-cli (on linux mint 17), I get the following error. From the error, it seems that installing the script for the middle cli uses the command 'node' vs 'nodejs' (for linux-mint). I'm not sure how to get him to use the correct command.
I searched through google and mean.io related messages here in SO, but could not find any relevant information. Any help is appreciated.
sudo npm install -g mean-cli
> mean-cli@0.10.14 preinstall /usr/local/lib/node_modules/mean-cli
> node ./scripts/preinstall
sh: 1: node: not found
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR! weird error 127
npm ERR! not ok code 0
source
share