-
Notifications
You must be signed in to change notification settings - Fork 928
TypeError: Cannot read properties of undefined (reading 'mutations') #7721
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
Comments
Related? angular/angularfire#3448 |
I don't think it's related to that bug, that user opened what I think is the same issue in our repo: #7712 where the same test works if they use karma - in that case it's a module resolution issue. About this issue, since it's using emulators I wonder if it's related to recent changes Firestore made that require the latest versions of the emulators and an EXPERIMENTAL_MODE flag? #7637 These don't look like the same failure though. |
@jamesdaniels We had a problem with read stream that might be affecting the write stream as well. Unfortunately, this is an intermittent problem that was only reproducible under certain conditions. Could you upgrade to version 1.5.2 of Firebase SDK? We released 15.2 to fix the read problem. Also, if you have a test that consistently fails, but it fixed with 1.5.2, that would be very helpful information for us. |
Hey @jamesdaniels. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @jamesdaniels if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Operating System
Various
Browser Version
Chrome/118.0.5993.88
Firebase SDK Version
10.5.0
Firebase SDK Product:
Firestore
Describe your project's tooling
Angular 16.2.7, Karma 6.4.2, Node 18
Describe the problem
In my karma tests (against the emulators) I'm running into tons of failures with Firestore, one culprit appears to be this
!
:firebase-js-sdk/packages/firestore/src/remote/remote_store.ts
Line 779 in f002ef3
Stack trace:
Seems to be related to a bunch of these too, maybe failed/aborted tests put Firestore into a bad state?
Steps and code to reproduce issue
Use Firestore in Karma (Angular's test tooling)
The text was updated successfully, but these errors were encountered: