Skip to content

NullInjectorError is thrown upon adding the AngularFireAnalyticsModule in Angular 13 #3248

Answered by Tue-MaTocky
Tue-MaTocky asked this question in Q&A
Discussion options

You must be logged in to vote

I found my solution. I did not catch that I need to add the code below to the app.module.ts file. I did not get this step while following the https://github.com/angular/angularfire/blob/master/docs/analytics/getting-started.md documentation.

AngularFireModule.initializeApp(environment.firebase),

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Tue-MaTocky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant