Anyone else still getting AngularFireModule has not been provided error? #2990
Unanswered
thatcatcancode asked this question in Q&A
Replies: 3 comments 15 replies
-
I've been seeing this as well and have been stumped about how to fix it. |
BetaWas this translation helpful?Give feedback.
5 replies
-
Possibly, you will solve it by passing the "app" as a parameter in the service's constructor. I caught this problem when implementing a "Route Guard" (canLoad). |
BetaWas this translation helpful?Give feedback.
4 replies
-
In my case it was because I was not using an auth service but doing the authentication directly in my login component and signup component. I created a separate service with "ng g s auth" and moved the auth there like so:
And for example my login component now looks like this with the getAuth removed:
|
BetaWas this translation helpful?Give feedback.
6 replies
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
-
I'm still getting this error on the latest rc release:
Uncaught Error: AngularFireModule has not been provided at getSchedulers
Angular
^12.x.x
, NgUniversal^12.x.x
, Firebase^9.x.x
, Angular Fire^7.1.0-rc.4
Firestore is easy to configure using the angular fire 7 api 👍
The issues I have are specific to configuring Firebase Realtime Database (
import { Database, ref } from '@angular/fire/database'
). Do you see anything wrong with the below usage?BetaWas this translation helpful?Give feedback.
All reactions