Anyone else still getting AngularFireModule has not been provided error? #2990
Replies: 3 comments 15 replies
-
I've been seeing this as well and have been stumped about how to fix it. |
Beta Was this translation helpful? Give feedback.
-
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). |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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?Beta Was this translation helpful? Give feedback.
All reactions