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