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

'Error: Module did not self-register.' with Worker Threads #45

Open
shockingboring opened this issue Nov 9, 2018 · 3 comments
Open

Comments

@shockingboring
Copy link

shockingboring commented Nov 9, 2018

see :
https://github.com/nodejs/node/issues/21481
as @mattolson mentioned

-- any native addons that are loaded in both the parent and worker thread (i.e. loaded more than once in the same process) need to be context aware.

@mathiask88
Copy link
Owner

This addon builds on NAN. As long NAN does not support context-awareness this won't happen. Thanks for reporting!

@flacohenao
Copy link

Any news on this?

@mathiask88
Copy link
Owner

I am currently working on a NAPI rewrite of this addon to replace NAN. If I got the current functionality working I will have a look into this. NAPI should be capable of context-awareness. But don't expect this in the near future.

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

No branches or pull requests

3 participants