We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can you please try to switch ws to 2.0.0-beta.1?
The text was updated successfully, but these errors were encountered:
Please update. There is something weird going on here with the current version of ws being used. It keeps throwing this error on incoming messages:
ws
/node_modules/express-ws/node_modules/ws/lib/Receiver.js:306 if (mask != null && buf != null) bufferUtil.unmask(buf, mask); TypeError: Cannot read property 'unmask' of undefined
the Receiver.js is doing this (line 11):
Receiver.js
bufferUtil = require('./BufferUtil').BufferUtil
and BufferUtil.js does this:
BufferUtil.js
try { module.exports = require('bufferutil'); } catch (e) { module.exports = require('./BufferUtil.fallback'); }
which results in the error since bufferutil.BufferUtil (as used in Receiver.js) does not exist.
bufferutil.BufferUtil
This works as expected and the code is also doing the right thing in the latest ws version.
Sorry, something went wrong.
Should be fixed in version 3.0.0.
No branches or pull requests
Can you please try to switch ws to 2.0.0-beta.1?
The text was updated successfully, but these errors were encountered: