LearnBoost / cluster

Node.JS multi-core server manager with plugins support.
http://learnboost.github.com/cluster
MIT License
2.29k stars 159 forks source link

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

Closed Danielss89 closed 8 years ago

Danielss89 commented 12 years ago

[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)

manubo commented 12 years ago

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 :-)

telendt commented 12 years ago

Currently cluster doesn't support node > 0.4.

manubo commented 12 years ago

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: https://github.com/LearnBoost/cluster/issues/176#issuecomment-3215129