Node.js forever module crashes on list -
i'm running node v0.10.5 on ubuntu 12.04, , i'm able processes started using forever module, try list processes out, forever crashes error/stack trace:
/usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/lazy.js:211 (var = 0; < chunk.length; i++) { ^ typeerror: cannot read property 'length' of null @ function.<anonymous> (/usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/lazy.js:211:38) @ lazy.<anonymous> (/usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/lazy.js:187:21) @ lazy.eventemitter.emit (events.js:95:17) @ socket.<anonymous> (/usr/local/lib/node_modules/forever/node_modules/nssocket/node_modules/lazy/lazy.js:50:22) @ socket.eventemitter.emit (events.js:92:17) @ emitreadable_ (_stream_readable.js:392:10) @ emitreadable (_stream_readable.js:388:5) @ socket.readable.read (_stream_readable.js:250:5) @ socket.onsocketend (net.js:256:10) @ socket.eventemitter.emit (events.js:117:20)
i've tried upgrading it, , outright reinstalling it.
it's fixed. , think released soon.
https://github.com/nodejitsu/forever/issues/408
or can patch lazy.js manually