indexzero/forever — Issue #143: Error at install forever on Suse with Kernel 2.6.27.29-0.1-default
Author: Fantasyelf
Created: 2011-10-18 11:31:42+00:00
State: open

Hello,

i will install forever with: "npm install forever -g"
and get following error:

> daemon@0.3.2 preinstall /root/local/lib/node_modules/forever/node_modules/daemon
> node-waf configure build

sh: node-waf: command not found
npm ERR! error installing daemon@0.3.2 Error: daemon@0.3.2 preinstall: `node-waf configure build`
npm ERR! error installing daemon@0.3.2 `sh "-c" "node-waf configure build"` failed with 127
npm ERR! error installing daemon@0.3.2 at ChildProcess. (/root/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing daemon@0.3.2 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing daemon@0.3.2 at ChildProcess.onexit (child_process_legacy.js:246:12)
npm ERR! error installing forever@0.7.1 Error: daemon@0.3.2 preinstall: `node-waf configure build`
npm ERR! error installing forever@0.7.1 `sh "-c" "node-waf configure build"` failed with 127
npm ERR! error installing forever@0.7.1 at ChildProcess. (/root/local/lib/node_modules/npm/lib/utils/exec.js:49:20)
npm ERR! error installing forever@0.7.1 at ChildProcess.emit (events.js:70:17)
npm ERR! error installing forever@0.7.1 at ChildProcess.onexit (child_process_legacy.js:246:12)
npm ERR! daemon@0.3.2 preinstall: `node-waf configure build`
npm ERR! `sh "-c" "node-waf configure build"` failed with 127
npm ERR!
npm ERR! Failed at the daemon@0.3.2 preinstall script.
npm ERR! This is most likely a problem with the daemon package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-waf configure build
npm ERR! You can get their info via:
npm ERR! npm owner ls daemon
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.27.29-0.1-default
npm ERR! command "node" "/root/local/bin/npm" "install" "forever" "-g"
npm ERR! cwd /root/node-latest-install
npm ERR! node -v v0.5.4
npm ERR! npm -v 1.0.27
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/node-latest-install/npm-debug.log
npm not ok

"which node-waf" give out following: /root/local/bin/node-waf

In the root's Bashfile is following: export PATH=$HOME/local/bin:$PATH

The directory is also right. Why come this error?