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
I encountered crash here: TypeError: Cannot read properties of undefined (reading 'clock')
TypeError: Cannot read properties of undefined (reading 'clock')
y-protocols/awareness.js
Line 201 in e7da0a1
seems right after this happened: https://github.com/yjs/yjs/blob/9f1548204ac8a5960c3112f96de4c962bbd264e8/src/utils/Transaction.js#L334
the yjs library may change clientId, but the awareness is not ready for that.
The text was updated successfully, but these errors were encountered:
I also encounter this error regularly. I tried this simple solution:
const clientMeta= /** @type {MetaClientState} */ (awareness.meta.get(clientID)) if (!clientMeta) continue; const clock = clientMeta.clock;
But it actually doesnt really solve the problem. The error itself is solved, but it leads to the problem that the client is out of sync afterwards.
Sorry, something went wrong.
Also have this issue in regards to https://github.com/facebook/lexical and yjs.
I'm not entirely sure about the internals of YJS; why does the client ID change happen in the first place?
Same here
No branches or pull requests
I encountered crash here:
TypeError: Cannot read properties of undefined (reading 'clock')
y-protocols/awareness.js
Line 201 in e7da0a1
seems right after this happened:
https://github.com/yjs/yjs/blob/9f1548204ac8a5960c3112f96de4c962bbd264e8/src/utils/Transaction.js#L334
the yjs library may change clientId, but the awareness is not ready for that.
The text was updated successfully, but these errors were encountered: