-
Notifications
You must be signed in to change notification settings - Fork 45
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Worker Threads: "Module did not self-register" #10 #50
Comments
I've modified module initialization to use NODE_MODULE_INITIALIZER, which should make the module context-aware (1c946bf). I dont think gstreamer-superficial uses any global state, so i hope that has no side effects and the module now works well with worker threads. A quick test looked ok. use version 1.7.1 from npm or later. |
Thank you so much ! |
I have this one-liner
and I get same error
Why? It's on jetson nano with ubuntu |
can you still reproduce this, @mariusrak ? because i can't; your one-liner doesnt work for me for a number of reasons (the "new" initialization doesnt work, the "gst-launch-1.0" is too much in the pipeline, and the script will quit right away). do you still see the "Module did not self-register" issue? |
Hi. This error somehow relates to nodejs version and package location. I'm not sure how, but when all the installation is correct and also the version of nodejs is correct, it seems that it works. But it seems to be fragile. However, I guess we can consider this closed. |
Hi all, I'm seeing this issue too in Node 20.8.1 running electron 27.0.0. Is this an electron messing with packages thing? |
When required in worker threads, It throws error "Module did not self-register"
I think this may be related to this issue
nodejs/node#21783 (comment)
https://github.com/schroffl/node-lzo/pull/11/files
The text was updated successfully, but these errors were encountered: