Skip to content

updating to v19-rc.0 cli breaks ng serve #28764

@SanderElias

Description

@SanderElias

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

compiler-cli

Is this a regression?

Yes

Description

After running ng upddate @angular/cli --next to go from -next.10
I goit this error:
Image

reproduction:
pull this branch from my repo: Pull this branch from my repo: https://github.com/SanderElias/Samples/tree/Before_standalone_true_migration

npm ci 
 ng update @angular/cli --next 
 npm run build.lib  # those are needed for the samples app
 ng serve samples

Please provide a link to a minimal reproduction of the bug

Pull this branch from my repo: https://github.com/SanderElias/Samples/tree/Before_standalone_true_migration

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

Angular CLI: 19.0.0-rc.0
Node: 22.7.0
Package Manager: npm 10.8.2
OS: linux x64

Angular: 19.0.0-rc.0
... animations, cli, common, compiler, compiler-cli, core
... elements, forms, language-service, platform-browser
... platform-browser-dynamic, platform-server, router, ssr

Package Version

@angular-devkit/architect 0.1900.0-rc.0
@angular-devkit/build-angular 19.0.0-rc.0
@angular-devkit/core 19.0.0-rc.0
@angular-devkit/schematics 19.0.0-rc.0
@schematics/angular 19.0.0-rc.0
ng-packagr 19.0.0-next.3
rxjs 7.8.1
typescript 5.6.2

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