-
Notifications
You must be signed in to change notification settings - Fork 44
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
"Generic type 'AggregateQuerySnapshot<T>' requires 1 type argument(s)." #88
Comments
Why is |
Same issue, I temporarily fixed it by forcing it to 6.0.4. |
Same issue here while using @angular/fire - fixed by installing rxfire 6.0.4 too. |
Same issue here with @angular/fire but in my case installing rxfire 6.0.4 didn't help. I tried to install 6.0.3 because this was my previous version in package-lock but it didn't help too so I had to restore my whole previous package-lock where I use rxfire 6.0.3, so probably some other package makes issue too |
I think the issue here is that [email protected] introduced a breaking change and now requires firebase@10 to function. So sticking to [email protected] with firebase@9 is the solution. Adding this override to package.json resolves the issue for me: {
"dependencies": {
"@angular/fire": "~7.6.1"
}
"overrides": {
"@angular/fire@~7.6.1": {
"rxfire@^6.0.0": "6.0.3"
}
}
} |
I had commented about my temporary fix by forcing my app to use 6.0.4 but this is more reliable solution. I was getting unexpected firebase integration errors such as "FirebaseError: Firebase: No Firebase App '[DEFAULT]' has been created - call initializeApp() first (app/no-app)". Then I tried to force 6.0.3 and these errors are also solved. Thanks rgant. |
This seems to be happening if you're using Firebase SDK Version < 10.
|
@eyoeldefare See the overrides necessary: #88 (comment) |
I tried this, I get Override for @angular/fire@^7.6.1 conflicts with direct dependency error when I perform npm install |
Your |
My Angular app won't compile with rxfire 6.0.5. The error is
This is with Firebase 9.23.0. I can't get Firebase 10 to work, see my StackOverflow question.
The text was updated successfully, but these errors were encountered: