angularFire 19 upgrade crashes when deploying to production
LanderBeeuwsaert opened this issue · 6 comments
This issue does not seem to follow the issue template. Make sure you provide all the required information.
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.
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)
@jamesdaniels I have researched further but haven't been able to make a reproduction that showcases the issue.
I tried but I need to be missing something.
What I found is that it only happens if I enable optimization in angular.json
Also, the moment I comment out the subscription to AngularFire Auth authState it goes away as well

The stacktrace with sourcemaps gives:




any updates on this issue?
I've been able to make a minimal reproduction:
https://github.com/LanderBeeuwsaert/notify-scheduler-issue2


