-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
area: migrationsIssues related to `ng update`/`ng generate` migrationsIssues related to `ng update`/`ng generate` migrationscore: control flowIssues related to the built-in control flow (@if, @for, @switch)Issues related to the built-in control flow (@if, @for, @switch)
Milestone
Description
Which @angular/* package(s) are the source of the bug?
core
Is this a regression?
Yes
Description
I recently tried control flow migration schematics for my project using command ng generate @angular/core:control-flow but its throwing error Cannot set properties of undefined (setting 'hasLineBreaks')
Please provide a link to a minimal reproduction of the bug
For this I can add you to a private repo
Please provide the exception or error you saw
`Cannot set properties of undefined (setting 'hasLineBreaks')`
Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 17.0.0-rc.1
Node: 18.18.2
Package Manager: npm 9.8.1
OS: win32 x64
Angular: 17.0.0-rc.1
... animations, cdk, cli, common, compiler, compiler-cli, core
... forms, google-maps, material, platform-browser
... platform-browser-dynamic, platform-server, pwa, router
... service-worker
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1700.0-rc.1
@angular-devkit/build-angular 17.0.0-rc.1
@angular-devkit/core 17.0.0-rc.1
@angular-devkit/schematics 17.0.0-rc.1
@angular/fire 16.0.0
@schematics/angular 17.0.0-rc.1
rxjs 7.8.1
typescript 5.2.2
zone.js 0.14.0
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: migrationsIssues related to `ng update`/`ng generate` migrationsIssues related to `ng update`/`ng generate` migrationscore: control flowIssues related to the built-in control flow (@if, @for, @switch)Issues related to the built-in control flow (@if, @for, @switch)