-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
TypeError: Cannot read property 'unmask' of undefined (Socket.io) #2593
TypeError: Cannot read property 'unmask' of undefined (Socket.io) #2593
Comments
Can ignore this - weird coding in ws package can cause conflict if more modern version of bufferutil and utf-8-validate packages are installed |
@petemill I have the same issue. So what is the suitable version of bufferutil and utf-8-validate ? |
I also have the same issue after upgrading to a newer angular-cli (and updating karma). What's the solution? :) |
@creat-or I downgraded the dependencies version for bufferutil and utf-8-validate and it worked. |
Related: socketio/engine.io#495 From what I can tell this should be fixed by getting rid of ws 1.1.2 and using ws 1.1.4 instead. As soon as the new version of engine.io is released, can you guys update the dependency? |
I'm having the same issue as @MiraLak . Using same dependencies 3.0.0 for bufferutil and 3.0.1 for utf-8-validate (socket.io 1.7.3). |
A workaround that works for me:
This will prevent the "offenders" bufferutil and utf-8-validate from being installed. Everything should still work. |
Hi, have the same issue and still nobody answered to previous question "Downgraded what to what?" and workaround doesn't work for me ) |
#2880 ought to fix this issue. |
Is there a plan when are you going to release this fix? This is a pretty serious issue for us because all of our unittests are failing. Or is there any documentation about your release cycle or release plans? Thanks |
With a fresh
npm install
I am suddenly seeing an error to do with Karma's socket.io code. This is across different browsers (Chrome / PhantomJS) and systems (macOS / Ubuntu).Expected behaviour
Karma starts, loads browser, connects to browser and then runs tests.
Actual behaviour
Karma starts, loads browser, and fails to connect to browser, instead receiving a syntax error:
Environment Details
Steps to reproduce the behaviour
The text was updated successfully, but these errors were encountered: