Skip to content
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

Error with Analytics after updating to v17 #3491

Open
sorcamarian opened this issue Jan 8, 2024 · 2 comments
Open

Error with Analytics after updating to v17 #3491

sorcamarian opened this issue Jan 8, 2024 · 2 comments

Comments

@sorcamarian
Copy link

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

@google-oss-bot
Copy link

This issue does not seem to follow the issue template. Make sure you provide all the required information.

@sorcamarian
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants