Ich habe, wie der Kollege hier beschreibt, node.js installiert. Beim letzten Schritt, dem Installieren mit npm install erhalte ich folgende, fehlerhaft Ausgabe:
Code
root@yazata:/var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush# npm install
npm WARN package.json be.bastelstu.wcf.nodePush@1.0.0 No repository field.
> typechecker@2.0.8 preinstall /var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/caterpillar/node_modules/extendr/node_modules/typechecker
> node ./cyclic.js
> posix@1.0.4 install /var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix
> node-gyp rebuild
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at F (/usr/lib/node_modules/npm/node_modules/which/which.js:43:28)
gyp ERR! stack at E (/usr/lib/node_modules/npm/node_modules/which/which.js:46:29)
gyp ERR! stack at /usr/lib/node_modules/npm/node_modules/which/which.js:57:16
gyp ERR! stack at Object.oncomplete (evalmachine.<anonymous>:108:15)
gyp ERR! System Linux 2.6.32-042stab094.7
gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/chroot/node_modules/posix
gyp ERR! node -v v0.10.38
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
> ws@0.5.0 install /var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/socket.io/node_modules/engine.io/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
> ws@0.4.31 install /var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush/node_modules/socket.io/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws
> (node-gyp rebuild 2> builderror.log) || (exit 0)
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.
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.
npm ERR! System Linux 2.6.32-042stab094.7
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush
npm ERR! node -v v0.10.38
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0
root@yazata:/var/www/web1/htdocs/fourspace.de/wcf/acp/be.bastelstu.wcf.nodePush#
Alles anzeigen
Einige Hinweise zum System: Debian 7.8, der Ordner gehört dem Nutzer web1, ich bin aber als root eingeloggt.
Grüße,
jacboy