You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Karma does not seem to be working properly with the latest version of socket.io when running on macOS. Tests will always fail with the following output:
Chrome 115.0.0.0 (Mac OS 10.15.7) ERROR
Some of your tests did a full page reload!
Chrome 115.0.0.0 (Mac OS 10.15.7) ERROR
Some of your tests did a full page reload!
25 07 2023 13:08:13.224:ERROR [karma-server]: UncaughtException: TypeError: Cannot read properties of null (reading '57590020')
at Socket.emit (node:events:527:28)
at Socket.emit (node:domain:475:12)
at Socket.emitUntyped (/node_modules/socket.io/dist/typed-events.js:69:22)
at node_modules/socket.io/dist/socket.js:703:39
Overriding the socket.io dependency version to 4.6.1 within package.json fixes the issue:
Saw the same problem on Firefox on ArchLinux and an Angular 12 project with the conjunction of the new socket.io version and the client.clearContext configuration set to false. I had to fix the resolution of socket.io to "socket.io": "~4.6.2" in my project.
Karma does not seem to be working properly with the latest version of socket.io when running on macOS. Tests will always fail with the following output:
Overriding the socket.io dependency version to
4.6.1
withinpackage.json
fixes the issue:Suggest one of the following:
4.6.1
heresocket.io@4.7.1
The text was updated successfully, but these errors were encountered: