LearnBoost / cluster

Node.JS multi-core server manager with plugins support.

Home Page:http://learnboost.github.com/cluster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

throw e; // process.nextTick error, or 'error' event on first tick

Danielss89 opened this issue · comments

[root@sccups home]# nvm use v0.6.6
Now using node v0.6.6
[root@sccups home]# cd /var/www/vhosts/sccups.com/httpdocs/library/nodejs
[root@sccups nodejs]# node server.js
info - socket.io started

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: No such module
at Object. (/root/node_modules/cluster/lib/worker.js:14: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. (/root/node_modules/cluster/lib/master.js:12:14)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)

I am using node v0.6.6 as well and get exactly the same error with:

$ node cluster/examples/single.js

Seems the statement process.binding('net') in worker.js causes the problem. But I can't help, just started with node.js :-)

Currently cluster doesn't support node > 0.4.

Right, did not check that.
Just saw that since version 0.6, node supports multiple processes on its own: http://nodejs.org/docs/v0.6.6/api/cluster.html

On 20.12.2011, at 07:20, Tomasz Elendt wrote:

Currently cluster doesn't support node > 0.4.


Reply to this email directly or view it on GitHub:
#176 (comment)