You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 30, 2022. It is now read-only.
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)
The text was updated successfully, but these errors were encountered:
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.
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)
The text was updated successfully, but these errors were encountered: