Skip to content
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.

node-webworker and node 0.8.x #42

Open
rgermano opened this issue Jun 26, 2012 · 4 comments
Open

node-webworker and node 0.8.x #42

rgermano opened this issue Jun 26, 2012 · 4 comments

Comments

@rgermano
Copy link

Hello

Are there any plans to get node-webworker running on node 0.8.x? I'm currently getting the following error on node 0.8.0 and webworker 0.8.4. Is the cluster module a correct replacement for webworkers? Thanks!

/Users/rgermano/node_modules/webworker/lib/webworker.js:35
var netBinding = process.binding('net');
^
Error: No such module
at Object. (/Users/rgermano/node_modules/webworker/lib/webworker.js:35:26)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (/Users/rgermano/iG/workspaces/cms/git/iGCMS_EdicaoHomes/lib/publicacao/controle.js:10:14)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)

@mikeatlas
Copy link

It looks like netBinding isn't used anyways.

@rgerard
Copy link

rgerard commented Aug 13, 2012

+1. I'm also having this issue.

@Nishchal
Copy link

Better to use Child processes spawned using the require('child-process') rather than the node-webworker implementation, since there are some changes on the latest node. So I think unless the node-webworker is updated it would be wise to use either the "fork, spawn" methods to do the work.

@adambom
Copy link

adambom commented Feb 23, 2013

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants