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

angularFire 19 upgrade crashes when deploying to production #3592

Open
LanderBeeuwsaert opened this issue Dec 15, 2024 · 3 comments
Open

angularFire 19 upgrade crashes when deploying to production #3592

LanderBeeuwsaert opened this issue Dec 15, 2024 · 3 comments

Comments

@LanderBeeuwsaert
Copy link

LanderBeeuwsaert commented Dec 15, 2024

This seems to be in angular/core
If we revert to firebase-js-sdk 10 and angularFire 18 the issue disappears.
It doesn't happen on our dev builds (esbuild) but it does happen when we deploy to production.
So my non-expert guess would be that treeshaking is somehow involved?

Image
Image
Image

@google-oss-bot
Copy link

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

@LanderBeeuwsaert LanderBeeuwsaert changed the title Angular 19 upgrade crashes when deploying to production angularFire 19 upgrade crashes when deploying to production Dec 16, 2024
@jamesdaniels
Copy link
Member

Since this is an @angular/core I'd recommend filing a bug over in https://github.com/angular/angular. Is it crashing during the SSR or CSR cycle? Node and browser versions will be helpful to debug.

@LanderBeeuwsaert
Copy link
Author

We don't use SSR, so just "normal" CSR.
I've created a bug report in the angular repo:
angular/angular#59213
node: 22.4.0
browser: Version 131.0.6778.140 (Officiële build) (64-bits)

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

3 participants