Pages

Wednesday, September 05, 2012

Installing Forever on Fedora 17 Linux

Installing 'forever' package for Node.js turns out to be a bit more hassle than expected. The command is simple
npm install forever
npm install forever-monitor

However, more is required on Fedora 17:
yum install nodejs-waf
yum install waf
yum install nodejs-devel

Only now 'forever' package installation will go through.
I'm still getting errors installing forever-monitor.
Running 'forever' also results in an error:

module.js:337    throw new Error("Cannot find module '" + request + "'");          ^Error: Cannot find module './daemon.v0.6.18'    at Function._resolveFilename (module.js:337:11)    at Function._load (module.js:279:25)    at Module.require (module.js:359:17)    at require (module.js:375:17)    at Object. (/usr/lib/nodejs/forever/node_modules/daemon/lib/daemon.js:12:11)    at Module._compile (module.js:446:26)    at Object..js (module.js:464:10)    at Module.load (module.js:353:31)    at Function._load (module.js:311:12)    at Module.require (module.js:359:17) 

No comments: