lev icon indicating copy to clipboard operation
lev copied to clipboard

can't install on Ubuntu 14.04

Open phillipao opened this issue 9 years ago • 2 comments

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?

phillipao avatar Jul 20 '16 23:07 phillipao

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.

phillipao avatar Jul 21 '16 00:07 phillipao

This link [0] helped me in resolving the issue

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

SaiSujithReddy avatar Aug 17 '16 19:08 SaiSujithReddy