nodejitsu/forever — Issue #206: Error installing forever
Author: kevanstannard
Created: 2012-01-04 06:14:54+00:00
State: open

I'm installing forever globally on a Rackspace Ubuntu 10.04 instance.

My first few steps on the server and installing Node was:

apt-get update
apt-get install git-core build-essential libssl-dev
cd /usr/src
git clone http://github.com/joyent/node.git
cd node
./configure
make
make install
curl http://npmjs.org/install.sh | sh

Issue #203 may be similar? I ran a `which node-waf` command. This executed without error but returned nothing.

Log follows. Thanks for any suggestions.

root@server1:~# npm install -g forever
npm http GET https://registry.npmjs.org/forever
npm http 200 https://registry.npmjs.org/forever
npm http GET https://registry.npmjs.org/forever/-/forever-0.7.5.tgz
npm http 200 https://registry.npmjs.org/forever/-/forever-0.7.5.tgz
npm http GET https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/clip
npm http GET https://registry.npmjs.org/dnode
npm http GET https://registry.npmjs.org/daemon
npm http GET https://registry.npmjs.org/flatiron
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/portfinder
npm http GET https://registry.npmjs.org/ps-tree
npm http GET https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/watch
npm http GET https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/winston
npm http 200 https://registry.npmjs.org/cliff
npm http GET https://registry.npmjs.org/cliff/-/cliff-0.1.5.tgz
npm http 200 https://registry.npmjs.org/daemon
npm http 200 https://registry.npmjs.org/dnode
npm http 200 https://registry.npmjs.org/clip
npm http GET https://registry.npmjs.org/daemon/-/daemon-0.3.2.tgz
npm http GET https://registry.npmjs.org/dnode/-/dnode-0.8.2.tgz
npm http GET https://registry.npmjs.org/clip/-/clip-0.1.6.tgz
npm http 200 https://registry.npmjs.org/flatiron
npm http GET https://registry.npmjs.org/flatiron/-/flatiron-0.1.6.tgz
npm http 200 https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/minimatch/-/minimatch-0.0.5.tgz
npm http 200 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/optimist/-/optimist-0.2.8.tgz
npm http 200 https://registry.npmjs.org/portfinder
npm http GET https://registry.npmjs.org/portfinder/-/portfinder-0.2.1.tgz
npm http 200 https://registry.npmjs.org/nconf
npm http GET https://registry.npmjs.org/nconf/-/nconf-0.5.1.tgz
npm http 200 https://registry.npmjs.org/pkginfo
npm http GET https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
npm http 200 https://registry.npmjs.org/ps-tree
npm http GET https://registry.npmjs.org/ps-tree/-/ps-tree-0.0.2.tgz
npm http 200 https://registry.npmjs.org/timespan
npm http GET https://registry.npmjs.org/timespan/-/timespan-2.0.1.tgz
npm http 200 https://registry.npmjs.org/watch
npm http GET https://registry.npmjs.org/watch/-/watch-0.4.0.tgz
npm http 200 https://registry.npmjs.org/utile
npm http GET https://registry.npmjs.org/utile/-/utile-0.0.10.tgz
npm http 200 https://registry.npmjs.org/winston
npm http GET https://registry.npmjs.org/winston/-/winston-0.5.9.tgz
npm http 200 https://registry.npmjs.org/cliff/-/cliff-0.1.5.tgz
npm http 200 https://registry.npmjs.org/daemon/-/daemon-0.3.2.tgz
npm http 200 https://registry.npmjs.org/dnode/-/dnode-0.8.2.tgz
npm http 200 https://registry.npmjs.org/clip/-/clip-0.1.6.tgz
npm http 200 https://registry.npmjs.org/flatiron/-/flatiron-0.1.6.tgz
npm http 200 https://registry.npmjs.org/minimatch/-/minimatch-0.0.5.tgz
npm http 200 https://registry.npmjs.org/optimist/-/optimist-0.2.8.tgz
npm http 200 https://registry.npmjs.org/portfinder/-/portfinder-0.2.1.tgz
npm http 200 https://registry.npmjs.org/nconf/-/nconf-0.5.1.tgz
npm http 200 https://registry.npmjs.org/ps-tree/-/ps-tree-0.0.2.tgz
npm http 200 https://registry.npmjs.org/pkginfo/-/pkginfo-0.2.3.tgz
npm http 200 https://registry.npmjs.org/watch/-/watch-0.4.0.tgz
npm http 200 https://registry.npmjs.org/timespan/-/timespan-2.0.1.tgz
npm http 200 https://registry.npmjs.org/utile/-/utile-0.0.10.tgz
npm WARN watch@0.4.0 package.json: bugs['web'] should probably be bugs['url']
npm http 200 https://registry.npmjs.org/winston/-/winston-0.5.9.tgz
npm http GET https://registry.npmjs.org/parse-table
npm http GET https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/lru-cache

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

sh: node-waf: not found
npm ERR! error installing daemon@0.3.2
npm ERR! error installing forever@0.7.5
npm http GET https://registry.npmjs.org/prompt
npm http GET https://registry.npmjs.org/reconf
npm http GET https://registry.npmjs.org/colors
npm http GET https://registry.npmjs.org/winston
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/forever/node_modules/___optimist.npm/package/examples/bool.js'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-31-server
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "forever"
npm ERR! cwd /root
npm ERR! node -v v0.7.0-pre
npm ERR! npm -v 1.1.0-beta-7
npm ERR! path /usr/local/lib/node_modules/forever/node_modules/___optimist.npm/package/examples/bool.js
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/forever/node_modules/___optimist.npm/package/examples/bool.js'
npm http 200 https://registry.npmjs.org/parse-table
npm ERR! Error: ENOENT, no such file or directory '/usr/local/lib/node_modules/forever/node_modules/___flatiron.npm/package/lib/flatiron.js'
npm ERR! Report this *entire* log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Linux 2.6.32-31-server
npm ERR! command "node" "/usr/local/bin/npm" "install" "-g" "forever"
npm ERR! cwd /root
npm ERR! node -v v0.7.0-pre
npm ERR! npm -v 1.1.0-beta-7
npm ERR! path /usr/local/lib/node_modules/forever/node_modules/___flatiron.npm/package/lib/flatiron.js
npm ERR! fstream_path /usr/local/lib/node_modules/forever/node_modules/___flatiron.npm/package/lib/flatiron.js
npm ERR! fstream_type File
npm ERR! fstream_class FileWriter
npm ERR! code ENOENT
npm ERR! message ENOENT, no such file or directory '/usr/local/lib/node_modules/forever/node_modules/___flatiron.npm/package/lib/flatiron.js'
npm ERR! fstream_stack Object.oncomplete (/usr/local/lib/node_modules/npm/node_modules/fstream/lib/writer.js:204:26)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm not ok