Ubuntu 12.04 64bit build recipe. Problem with forever 0.10.0 [fixed]

349 views
Skip to first unread message

mengy007

unread,
Sep 12, 2012, 1:08:03 PM9/12/12
to lo...@googlegroups.com
A little issue I ran across. Maybe it'll help others. Fix is at the bottom.

After a clean Ubuntu 12.04 64bit server install, I got everything to install and build correctly by following the recipe posted on github  https://github.com/NarrativeScience/Log.io/wiki/v0.2.7-Build-Recipe-(Ubuntu-12.04) .

Trying to start up the harvester for the first time I get this:
Starting Log.io harvester...
Launching forever process...
info:    Forever processing file: /usr/local/bin/log.io-harvester

  monitor.send(JSON.stringify(options));
          ^
TypeError: Object #<ChildProcess> has no method 'send'
    at Object.startDaemon (/usr/local/lib/node_modules/log.io/node_modules/forever/lib/forever.js:404:11)
    at /usr/local/lib/node_modules/log.io/node_modules/forever/lib/forever/cli.js:229:13
    at /usr/local/lib/node_modules/log.io/node_modules/forever/lib/forever/cli.js:134:5
    at Object.oncomplete (/usr/local/lib/node_modules/log.io/node_modules/forever/lib/forever.js:343:11)
Done.
Done.

--------------------

I noticed forever is installed at version 0.10.0.

The fix is to install it again at 0.9.0 with the command "sudo npm install for...@0.9.0 -g".

After that, everything worked flawlessly. I hope this helps others.

Alex B

unread,
Dec 18, 2012, 4:42:01 PM12/18/12
to lo...@googlegroups.com
Awesome, that was my issue. I followed the install recipe (like a blind man, I have no experience whatsoever with npm) and it failed there, and also because of the missing home folder in log.io.
Someone should fix this, the whole concept is nice but if the install fails ... not so nice!
Reply all
Reply to author
Forward
0 new messages