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 #180

Open
zhaoaaaaa5 opened this issue May 28, 2024 · 0 comments
Open

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

zhaoaaaaa5 opened this issue May 28, 2024 · 0 comments

Comments

@zhaoaaaaa5
Copy link

zhaoaaaaa5 commented May 28, 2024

node: 10.14.0
python: 2.7.15

After the dependency is pulled, the main process and the child process require('speaker') at the same time, and the child process will display Error: Module did not self-register when running.

No problem version
node: 20.12.0
python: 3.9.16

If the new version is used, the subprocess require('speaker') in the main process can be used at the same time without error, and the audio can be played normally

There is a way that the respective main process subprocess require('speaker') will not report errors and the audio will play properly without upgrading the node version

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

No branches or pull requests

1 participant