Skip to content
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

Cannot assign to read only property 'length' of object '[object Array]' when sending message #606

Open
nathanlaingzigzag opened this issue May 2, 2024 · 1 comment

Comments

@nathanlaingzigzag
Copy link

Whenever I send a message in a channel I get the following error.

It could be due to "user error" on my behalf, but it does look like it's coming from the stream-chat library so thought I would post it here.

stream-chat-error
@szuperaz
Copy link
Contributor

szuperaz commented May 9, 2024

Sorry for the late response; I was out of the office. The error comes from this line of code: https://github.com/GetStream/stream-chat-angular/blob/master/projects/stream-chat-angular/src/lib/channel.service.ts#L1453 - the splice method fails on the array. However I can't reproduce this error with our sample app, nor do I know what could cause such error. Can you please try and reproduce with the sample app? Did this error started after a stream-chat-angular update? What version are you using currently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants