nodejitsu/forever — Issue #218: forever 0.6.5 - TypeError: undefined is not a function - on every command
Author: kankamik
Created: 2012-01-12 14:24:50+00:00
State: open

Running sandbox on Centos with Python 2.4 so my node version is 0.4.1 and vows version is 0.5.0

Run npm test and here is the output :

> forever@0.6.5 test /usr/local/node/lib/node_modules/forever
> vows test/*-test.js --spec

node.js:116
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. (/usr/local/node/lib/node_modules/forever/lib/forever.js:43:23)
at Module._compile (module.js:374:26)
at Object..js (module.js:380:10)
at Module.load (module.js:306:31)
at Function._load (module.js:272:10)
at require (module.js:318:19)
at Object. (/usr/local/node/lib/node_modules/forever/test/forever-test.js:13:15)
at Module._compile (module.js:374:26)
at Object..js (module.js:380:10)
npm ERR! forever@0.6.5 test: `vows test/*-test.js --spec`
npm ERR! `sh "-c" "vows test/*-test.js --spec"` failed with 1
npm ERR!
npm ERR! Failed at the forever@0.6.5 test script.
npm ERR! This is most likely a problem with the forever package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! vows test/*-test.js --spec
npm ERR! You can get their info via:
npm ERR! npm owner ls forever
npm ERR! There is likely additional logging output above.
npm ERR!
npm ERR! System Linux 2.6.18-274.3.1.el5
npm ERR! command "node" "/usr/local/node/bin/npm" "test"
npm ERR! cwd /usr/local/node/lib/node_modules/forever
npm ERR! node -v v0.4.1
npm ERR! npm -v 1.0.106
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /usr/local/node/lib/node_modules/forever/npm-debug.log
npm not ok

Installed: npm install forever@0.6.5 -g