Error on run using node v0.4.12
robinduckett opened this issue · 2 comments
robinduckett commented
Error log:
/var/apps/foreverui $ node node_modules/forever-webui/app.js
node.js:134
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: undefined is not a function
at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native)
at Object.<anonymous> (/var/apps/foreverui/node_modules/forever-webui/node_modules/forever/lib/forever.js:45:23)
at Module._compile (module.js:411:26)
at Object..js (module.js:417:10)
at Module.load (module.js:343:31)
at Function._load (module.js:302:12)
at require (module.js:355:19)
at Object.<anonymous> (/var/apps/foreverui/node_modules/forever-webui/app.js:6:13)
at Object.<anonymous> (/var/apps/foreverui/node_modules/forever-webui/app.js:197:4)
at Module._compile (module.js:411:26)
Any thoughts?
FGRibreau commented
A dependency (nconf) is broken in forever 1.x.x
Workaround:
git clone git@github.com:FGRibreau/forever-webui.git
cd forever-webui/
npm install
cd node_modules/forever/
Open package.json
and change"nconf": "0.x.x",
by "nconf": "0.4.6",
save and run npm install
.
Forever web-ui and forever should work after this modification :)
robinduckett commented
Thanks for the quick response. Works great!