When I had fun on Ubuntu 12.04.1, I got the error below after updating node.js from v0.6.12 to v0.8.15. It works well before updating. Has anyone encountered such a problem before?
$ forever module.js:340 throw err; ^ Error: Cannot find module './daemon.v0.8.15' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object.<anonymous> (/usr/local/lib/node_modules/forever/node_modules/daemon/lib/daemon.js:12:11) at Module._compile (module.js:449:26) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:362:17)
My environment
node v0.8.15 npm 1.1.66
I installed node and npm with a command line hit
$ sudo apt-get install python-software-properties -y $ sudo add-apt-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs npm -y
I installed forever with the command line
$ sudo npm install forever -g
source share