Ich habe mit einem Release von node v0.12 immer das Problem, dass die Nodes nicht mehr starten. Genauer gesagt bekomme ich hierbei die Fehlermeldung:
Error: Module did not self-register.
Nachgelesen habe ich dann, dass sich das mit einem npm rebuild beheben lässt. Dieser Befehl bricht allerdings dann mit folgender Fehlermeldung ab:
Code
make: *** [Release/obj.target/posix/src/posix.o] Fehler 1
make: Leaving directory `/home/jail/home/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix/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:269:23)
gyp ERR! stack at ChildProcess.emit (events.js:110:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Linux 3.2.0-4-amd64
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/jail/home/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix
gyp ERR! node -v v0.12.3
gyp ERR! node-gyp -v v1.0.3
gyp ERR! not ok
npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "rebuild"
npm ERR! node v0.12.3
npm ERR! npm v2.9.1
npm ERR! code ELIFECYCLE
npm ERR! posix@1.0.4 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the posix@1.0.4 install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the posix 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 posix
npm ERR! There is likely additional logging output above.
Alles anzeigen