Skip to content

fix: @angular/build:application #63463

@NsdHSO

Description

@NsdHSO

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

core

Is this a regression?

Yes

Description

I got this when migrate at angular 20.2.1

Image

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

at R3Injector.get (root_effect_scheduler.mjs:2032:27)
    at R3Injector.get (root_effect_scheduler.mjs:2019:33)
    at R3Injector.retrieve (root_effect_scheduler.mjs:1903:25)
    at injectInjectorOnly (root_effect_scheduler.mjs:1020:39)
    at ɵɵinject (root_effect_scheduler.mjs:1032:42)
    at injectArgs (root_effect_scheduler.mjs:1172:23)
    at Object.factory (root_effect_scheduler.mjs:2257:52)
    at R3Injector.hydrate (root_effect_scheduler.mjs:2159:43)
    at R3Injector.get (root_effect_scheduler.mjs:2007:33)
    at R3Injector.retrieve (root_effect_scheduler.mjs:1903:25)
handleError	@

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

ng version                                                                                                   [11s] [08:45]

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/
    


Angular CLI: 20.2.1
Node: 22.18.0
Package Manager: yarn 3.5.0
OS: darwin arm64
    

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

Package                      Version
------------------------------------
@angular-devkit/architect    0.2002.1
@angular-devkit/core         20.2.1
@angular-devkit/schematics   20.2.1
@angular/build               20.2.1
@angular/cdk                 19.2.19
@angular/cli                 20.2.1
@schematics/angular          20.2.1
rxjs                         7.8.2
typescript                   5.8.3
zone.js                      0.15.1

Anything else?

In angular 19, works good. But when I migrate at this version I got this. In develop mode works compile good, but when build broke

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions