can't install on Ubuntu 14.04
I'm getting the following on Ubuntu 14.04 for npm install lev:
> [email protected] install /usr/local/google/home/poertel/ldb/node_modules/lev/node_modules/level/node_modules/leveldown
> prebuild --install
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 1
npm ERR! not ok code 0
Since I'm not making any explicit reference to node vs nodejs (both packages are installed), I wonder if this is something that needs to be fixed in the package definition?
I found a SO question about this issue, where the highly upvoted answer says for the end user to work around the issue by aliasing node to nodejs. So I'm not sure if it's reasonable to expect the package maintainer to do anything. But I'm not sure if it's unreasonable either, so I'll leave this open.
This link [0] helped me in resolving the issue
[0] http://stackoverflow.com/questions/21168141/cannot-install-packages-using-node-package-manager-in-ubuntu