-
Notifications
You must be signed in to change notification settings - Fork 22
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
Incompatibility with NodeJS v22.0.0 #37
Comments
I will try to fix and submit a pull request. Ran into this today |
I did some work on this and the problem is the poly-fill for browsers now picks up the new WS in nodejs > 22.0. This version of the WS implementation has different signatures. I leave it to the Roon folks to decide whether they want to continue to support Polyfill for web sockets. The workaround is to remove the check for WebSocket defined and always load the ws library. A more complex solution would be changing the transport-websocket class to use the native nodejs one, but there seems to be lack of support for ping/pong and other differences. |
@mamsterla I've submitted a |
Thanks. I did the same locally but did not do the pull request. Thanks for following upOn Aug 14, 2024 9:22 AM, nihil ***@***.***> wrote:
@mamsterla I've submitted a pull request that uses the simplest approach (forcing the use of the polyfill) to this issue.
We'll see if we'll have any kind of reaction from the roon team.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Arch Linux x86_64 with CachyOS x86_64-v4 packages, NodeJS v22.0.0
The text was updated successfully, but these errors were encountered: