Angularfire: FIRESTORE (4.10.1) INTERNAL ASSERTION FAILED Error

Created on 21 Mar 2018  路  5Comments  路  Source: angular/angularfire

We get this error when using the enablePersistence() method on the initialization of AngularFirestoreModule. Removing it makes it work as expected.
What is causing this error?
I have no idea where to start debugging so any help on finding the cause for this problem is appreciated.

error-firestore

Most helpful comment

Can you try going into the dev tools and clearing IndexedDB? This can happen during development when the same local port is used in different apps.

screen shot 2018-03-21 at 3 29 59 pm

All 5 comments

Can you try going into the dev tools and clearing IndexedDB? This can happen during development when the same local port is used in different apps.

screen shot 2018-03-21 at 3 29 59 pm

I'll try this right now.

Awesome! It worked!
Do you know if there's a way to prevent this from happening?
Thanks a lot @davideast

@rwmb It's a pretty rare error, like I said it happens when you use different projects on the same port. It you see it occurring more often let us know in the official SDK repo: https://github.com/firebase/firebase-js-sdk/

Alright @davideast, thanks again!

Was this page helpful?
0 / 5 - 0 ratings