Does Not Work With Node.js 15+
hellometa opened this issue · 3 comments
Attempts to use node-speaker with Node.js 15.x.x and 16.x.x fail. There is no error but the call to node-speaker returns immediately. Tried installing after a clean install of 16.x.x, with build tools, and there was no change. Node.js 14.x.x and earlier still work fine. Not sure if it is an issue with node-gyp or some internal change to Node.js starting in 15 that blocks it from working.
What OS are you using? Works on Ubuntu 20.04.3 LTS with node 16.13.2.
Windows 10. Tested releases 20H1 and up. Any node.exe prior to 15 works fine. Node's 15, 16 and 17 simply return immediately without any reported error.
UPDATE: Tested with Node.js 18 Nightly and does not work on Windows 10.
Problem turns out not to be with speaker. Problem is in a module passing streaming data via pipe to speaker. That module has broken in Node 15+.