FAQ
Hi people

Has anyone been able to get webworker module
(https://github.com/pgriess/node-webworker) running on the new node 0.8?
I'm currently getting the following error on node 0.8.0 and webworker
0.8.4.
And I've read that the net nodule was removed since node 0.6, and that is
the reason.
What is the best solution? Is the cluster module a 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)

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Search Discussions

  • Adam Crabtree at Jun 26, 2012 at 5:03 pm
    Looks like process.binding('net') is not being used, so the line can be
    removed, but then you have several other issues that need to be updated for
    it to work such as require('sys') being deprecated/replaced with
    require('util') and removing its dependency on require.paths.

    Cheers,
    Adam Crabtree
    On Tue, Jun 26, 2012 at 7:00 AM, Ricardo Massa wrote:

    Hi people

    Has anyone been able to get webworker module (
    https://github.com/pgriess/node-webworker) running on the new node 0.8?
    I'm currently getting the following error on node 0.8.0 and webworker
    0.8.4.
    And I've read that the net nodule was removed since node 0.6, and that is
    the reason.
    What is the best solution? Is the cluster module a 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)

    --
    Job Board: http://jobs.nodejs.org/
    Posting guidelines:
    https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
    You received this message because you are subscribed to the Google
    Groups "nodejs" group.
    To post to this group, send email to nodejs@googlegroups.com
    To unsubscribe from this group, send email to
    nodejs+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/nodejs?hl=en?hl=en


    --
    Better a little with righteousness
    than much gain with injustice.
    Proverbs 16:8

    --
    Job Board: http://jobs.nodejs.org/
    Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
    You received this message because you are subscribed to the Google
    Groups "nodejs" group.
    To post to this group, send email to nodejs@googlegroups.com
    To unsubscribe from this group, send email to
    nodejs+unsubscribe@googlegroups.com
    For more options, visit this group at
    http://groups.google.com/group/nodejs?hl=en?hl=en

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupnodejs @
categoriesnodejs
postedJun 26, '12 at 2:20p
activeJun 26, '12 at 5:03p
posts2
users2
websitenodejs.org
irc#node.js

2 users in discussion

Ricardo Massa: 1 post Adam Crabtree: 1 post

People

Translate

site design / logo © 2022 Grokbase