This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Worker Threads: "Module did not self-register" #78
Comments
@mattolson Thanks for reporting this issue! Could you double-check if the fix on master works for you? |
It looks like |
nstepien
added a commit
that referenced
this issue
Oct 26, 2018
This allows iltorb to be loaded multiple times during the lifetime of the Node.js process. Fix #78
@MayhemYDG Thanks! |
This is working for me, can you create a new release? |
I've been waiting for AppVeyor to suport Node 11, but I guess we'll have to do without it. I'll do a release in the evening. |
@mattolson 2.4.1 is now published |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using the new experimental worker threads in Node 10.5 and above, if you require
iltorb
in both the parent and the worker, the following error is thrown:This seems to be related to nodejs/node#21783 and nodejs/node#21481. I believe the issue is that the module needs to be context-aware.
I ran into a similar issue with the lzo package and have a PR open for it. We will need to do something similar here.
The text was updated successfully, but these errors were encountered: