我想按照以下步骤在我的 debian wheezy VPS 上安装 pump.io:https://github.com/e14n/pump.io/wiki/Debian-Installation
NodeJS 安装正常,但是当我要求 npm 安装依赖项时,它失败并显示以下堆栈跟踪:
[email protected] install /root/pump.io/node_modules/bunyan/node_modules/dtrace-provider
node-gyp rebuild
make: Entering directory « /root/pump.io/node_modules/bunyan/node_modules/dtrace-provider/build »
SOLINK_MODULE(target) Release/obj.target/DTraceProviderBindings.node
flock: ./Release/linker.lock: Bad file descriptor
make: *** [Release/obj.target/DTraceProviderBindings.node] Error 65
make: Leaving directory « /root/pump.io/node_modules/bunyan/node_modules/dtrace-provider/build »
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 2.6.32-27-pve
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/pump.io/node_modules/bunyan/node_modules/dtrace-provider
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the dtrace-provider package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls dtrace-provider
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 2.6.32-27-pve
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! cwd /root/pump.io
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/pump.io/npm-debug.log
npm ERR! not ok code 0
我只是不明白这个错误。
安装过程中哪个模块失败了?
谢谢。