简体   繁体   中英

Installing nodejs package - madeye - using npm stalls on ubuntu server?

I'm a user, not administrator, on an Ubuntu 10.04 LTS, Lucid box. When I try to install a node js package using ">npm install -g madeye" - it always hangs on this statement:

make: Entering directory `/nethome/robert/nvm/v0.10.4/lib/node_modules/madeye/node_modules/socket.io-client/node_modules/ws/build' CXX(target) Release/obj.target/bufferutil/src/bufferutil.o SOLINK_MODULE(target) Release/obj.target/bufferutil.node

I have no idea where to go from here. I successfully installed node v0.10.4 using NVM as a user, and successfully installed other packages - ie. Express.

Do you have the build tools such as make and gcc installed on your server?

[sudo] apt-get install build-essential

Also are you sure that you are running in the nvm environment and not the standard node.js? It looks like you are based on the make command output but is something to check

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM