Skip to content

Library does not work in node worker threads - Module did not self-register. #1755

Description

@Georgegriff

I've seen this with a few native modules that when they try to be used within the new NodeJS Workers feature they don't work.

I've been using this lib via a E2E test framework so a little hard to reproduce
The error message you get is Module did not self-register. I think this is potentially a load order issue and i've seen the same issue with other native libraries:

codeceptjs/codeceptjs-resemblehelper#57

Similar issue: web3/web3.js#2723

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions