Skip to content

angular core + angularFire 19 upgrade crashes when deploying to production #59213

Closed as not planned

Description

@LanderBeeuwsaert

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

Yes

Description

See here for a description:
angular/angularfire#3592
The author of AngularFire thinks this should probably be solved from the side of angular

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)

Angular CLI: 19.0.5
Node: 22.4.0
Package Manager: npm 10.9.2
OS: win32 x64

Angular: 19.0.4
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router, service-worker

Package                              Version
--------------------------------------------------------------
@angular-devkit/architect            0.1900.5
@angular-devkit/build-angular        19.0.5
@angular-devkit/core                 18.2.12
@angular-devkit/schematics           19.0.5
@angular/cdk                         19.0.3
@angular/cli                         19.0.5
@angular/fire                        18.0.1
@angular/google-maps                 19.0.3
@angular/material                    19.0.3
@angular/material-date-fns-adapter   19.0.3
@angular/youtube-player              19.0.3
@schematics/angular                  18.2.12
rxjs                                 7.8.1
typescript                           5.6.3
zone.js                              0.15.0

Anything else?

No response

Activity

  1. JoostK commented on Dec 17, 2024

    @JoostK
    Member

    Without reproduction, this is unlikely to be actionable.

  2. added
    needs reproduction
    on Dec 17, 2024
  3. added
    area: core
    on Dec 19, 2024
  4. added this to the Backlog milestone on Dec 19, 2024
  5. LanderBeeuwsaert commented on Dec 26, 2024

    @LanderBeeuwsaert
    Author

    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
    Image

    The stacktrace with sourcemaps gives:
    Image
    Image
    Image

  6. alan-agius4 commented on Jan 10, 2025

    @alan-agius4
    Contributor

    We are closing this request as it is not actionable on our end due to the lack of a runnable reproduction.

  7. angular-automatic-lock-bot commented on Feb 10, 2025

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreneeds reproduction

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions