arunoda / node-usage

process usage lookup with nodejs
MIT License
389 stars 93 forks source link

node 0.11.* error (cannot find pre-compiled binary for: linux/x64/v0.11.14) #35

Open atomantic opened 10 years ago

atomantic commented 10 years ago

2014-10-06 17:58 -07:00: usage: cannot find pre-compiled binary for: linux/x64/v0.11.14 2014-10-06 17:58 -07:00: usage: failed loading provider linux

happens on all node 0.11

I'm not sure if this is a compatibility with next version of node or if this is an nvm install issue:

installed via

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash;
nvm install 0.11.14;

This is for CentOS 6.5

atomantic commented 10 years ago

Ah, looked at the code and I see we need to add a compiled/linux/x64/0.11/sysinfo.node

How is that bin compiled?

ev0rtex commented 9 years ago

I had the same issue but with io.js v2.0.0

patricknelson commented 8 years ago

I had a similar issue. I think this is built using node-gyp so if you remove your node_modules and try npm install it should recompile for your system.

Side note: The reason I ended up encountering this issue was because I had an error elsewhere in my npm install and somehow ended up with usage but it didn't compile this binary for me. I hit this issue again after switching to a different VM (CentOS 7 vs 6) without recompiling. This also helped since it required C++11 https://edwards.sdsu.edu/research/c11-on-centos-6/