arunoda / node-usage

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

npm install fails #57

Closed ralyodio closed 8 years ago

ralyodio commented 8 years ago

Using node 5.3.x

remote: npm ERR! usage@0.3.10 install: `node-gyp rebuild`
remote: npm ERR! Exit status 1
remote: npm ERR!
remote: npm ERR! Failed at the usage@0.3.10 install script 'node-gyp rebuild'.
remote: npm ERR! Make sure you have the latest version of node.js and npm installed.
remote: npm ERR! If you do, this is most likely a problem with the usage package,
remote: npm ERR! not with npm itself.
remote: npm ERR! Tell the author that this fails on your system:
remote: npm ERR!     node-gyp rebuild
remote: npm ERR! You can get their info via:
remote: npm ERR!     npm owner ls usage
remote: npm ERR! There is likely additional logging output above.
remote:
muhammadfaizan commented 8 years ago

Same issue here

muhammadfaizan commented 8 years ago

ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *\ [Release/sysinfo.node] Error 1

getting this error

muhammadfaizan commented 8 years ago

@chovy try this

sudo npm install usage it fails because node-gyp requires write permission

arunoda commented 8 years ago

Try using pidusage: https://github.com/soyuka/pidusage