FGRibreau/forever-webui

Not able to start forever-webui

amacgregor opened this issue · 3 comments

Hi, I'm getting the following error when trying to start the app.

$ node app.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: undefined is not a function
at Object. (/Volumes/Projects/forever-webui/node_modules/forever/lib/forever.js:45:23)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/Volumes/Projects/forever-webui/app.js:6:13)
at Object. (/Volumes/Projects/forever-webui/app.js:197:4)
at Module._compile (module.js:432:26)

Kind Regards

What version of node did you use ? (node --version)

Please go into the forever-webui root folder and copy/paste the result of npm ls

Thanks

(it seems to be a bug related to forever)

node --version

v0.6.1

$ npm ls
npm WARN watch@0.4.0 package.json: bugs['web'] should probably be bugs['url']
npm WARN request@2.1.1 package.json: bugs['web'] should probably be bugs['url']
forever-webui@0.1.1 /Volumes/Projects/forever-webui
├── async@0.1.15
├── coffee-script@1.1.2
├── ejs@0.5.0
├─┬ express@2.5.1
│ ├─┬ connect@1.8.5
│ │ └── formidable@1.0.8
│ ├── mime@1.2.4
│ ├── mkdirp@0.0.7
│ └── qs@0.4.0
├─┬ forever@0.7.3
│ ├─┬ cliff@0.1.5
│ │ └── eyes@0.1.7
│ ├─┬ clip@0.1.6
│ │ ├── colors@0.5.1
│ │ ├─┬ prompt@0.1.11
│ │ │ └─┬ winston@0.5.9
│ │ │ ├── eyes@0.1.7
│ │ │ ├─┬ loggly@0.3.10
│ │ │ │ └── request@2.1.1
│ │ │ └── stack-trace@0.0.6
│ │ ├── reconf@0.1.1
│ │ └─┬ winston@0.3.5
│ │ ├── eyes@0.1.7
│ │ └─┬ loggly@0.3.10
│ │ └── request@2.1.1
│ ├── colors@0.6.0-1
│ ├── daemon@0.3.2
│ ├─┬ dnode@0.8.2
│ │ ├── dnode-protocol@0.0.12
│ │ ├── lazy@1.0.7
│ │ ├── socket.io@0.6.18
│ │ └── traverse@0.4.6
│ ├─┬ minimatch@0.0.5
│ │ └── lru-cache@1.0.5
│ ├── mkdirp@0.2.1
│ ├─┬ nconf@0.5.0
│ │ └── ini@1.0.1
│ ├─┬ optimist@0.2.8
│ │ └── wordwrap@0.0.2
│ ├── pkginfo@0.2.3
│ ├─┬ portfinder@0.2.1
│ │ └── mkdirp@0.0.7
│ ├─┬ ps-tree@0.0.2
│ │ └─┬ parse-table@0.0.0
│ │ └── event-stream@0.5.3
│ ├── timespan@2.0.1
│ ├── watch@0.4.0
│ └─┬ winston@0.5.9
│ ├── eyes@0.1.7
│ ├─┬ loggly@0.3.10
│ │ └── request@2.1.1
│ └── stack-trace@0.0.6
└── underscore@1.2.2

I looked for similar issues with forever and I wasn't able to find anything.

It was indeed a forever related bug (the 0.7.5+ fix this issue).

Remove the forever-webui folder and run again npm install forever-webui, it should work now :)