The Wayback Machine - https://web.archive.org/web/20200916183748/https://github.com/nodegit/nodegit/issues/1755
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Georgegriff opened this issue Feb 19, 2020 · 2 comments
Open

Comments

@Georgegriff
Copy link

@Georgegriff Georgegriff commented Feb 19, 2020

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: ethereum/web3.js#2723

@implausible
Copy link
Member

@implausible implausible commented Feb 19, 2020

We're not quite ready for this transition. We are aiming to move to NAPI in the near term to address this issue

@Georgegriff
Copy link
Author

@Georgegriff Georgegriff commented Feb 19, 2020

Awesome :) Thanks for the quick reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.