angularfire
angularfire copied to clipboard
Error with Analytics after updating to v17
trafficstars
homepage.component.ts:1194 ERROR TypeError: app.analytics is not a function
at angular-fire-compat-analytics.mjs:128:39
at ɵcacheInstance (angular-fire-compat.mjs:146:29)
at angular-fire-compat-analytics.mjs:127:34
at map.js:7:37
at OperatorSubscriber._next (OperatorSubscriber.js:13:21)
at OperatorSubscriber.next (Subscriber.js:31:18)
at subscribe.innerSubscriber (switchMap.js:14:144)
at OperatorSubscriber._next (OperatorSubscriber.js:13:21)
at OperatorSubscriber.next (Subscriber.js:31:18)
at innerFrom.js:61:28
I just updated to Angular 17 and AngularFire 17
This issue does not seem to follow the issue template. Make sure you provide all the required information.
I updated firebase to v10 from v9 and now I don't see errors.
I see that AngularFire requires v12 of firebase-tools and not the latest v13