-
Notifications
You must be signed in to change notification settings - Fork 14
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
Cannot set property writableObjectMode of #<Duplex> which has only a getter #63
Comments
Also, is there a way to actually use this in NodeJS with normal PCM buffers instead of AudioBuffer? |
Same issue for me on mac, same Node version. Doing just this:
|
Ditto. I suspect, also using node V21. I suspect something change in the most recent releases of nodejs that prevents this library from working :( |
Ohh, its easier than that writable.writableObjectMode is a read only property, and has been that way for a long time, so I guess it just means nodejs added stricter checking. |
TypeError: Cannot set property writableObjectMode of # which has only a getter
at Object. (./node_modules/audio-through/index.js:162:38)
at Module._compile (node:internal/modules/cjs/loader:1368:14)
at Object.S (./node_modules/tsx/dist/cjs/index.cjs:1:1292)
at Module.load (node:internal/modules/cjs/loader:1205:32)
at Module._load (node:internal/modules/cjs/loader:1021:12)
at Module.require (node:internal/modules/cjs/loader:1230:19)
at require (node:internal/modules/helpers:179:18)
at Object. (./node_modules/audio-speaker/stream.js:10:15)
at Module._compile (node:internal/modules/cjs/loader:1368:14)
at Object.S (./node_modules/tsx/dist/cjs/index.cjs:1:1292)
Node.js v21.7.1
The text was updated successfully, but these errors were encountered: