heapwolf / lev

The complete REPL & CLI for managing LevelDB instances.
MIT License
296 stars 36 forks source link

can't install on Ubuntu 14.04 #52

Open phillipao opened 8 years ago

phillipao commented 8 years ago

I'm getting the following on Ubuntu 14.04 for npm install lev:

> leveldown@1.4.6 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?

phillipao commented 8 years ago

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.

SaiSujithReddy commented 8 years ago

This link [0] helped me in resolving the issue

[0] http://stackoverflow.com/questions/21168141/cannot-install-packages-using-node-package-manager-in-ubuntu