Skip to content

@ngfor throw error #53600

@wszgrcy

Description

@wszgrcy

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

compiler-cli, compiler, core

Is this a regression?

No

Description

image
image
image

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

in screenshot

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

Angular CLI: 17.0.7
Node: 20.10.0
Package Manager: npm 10.2.3
OS: linux x64

Angular: 17.0.7
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1700.7
@angular-devkit/build-angular   17.0.7
@angular-devkit/core            17.0.7
@angular-devkit/schematics      17.0.7
@angular/cdk                    17.0.4
@angular/material               17.0.4
@schematics/angular             17.0.7
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.2

Anything else?

I use npx ng generate @angular/core:control-flow-migration to auto migration

Metadata

Metadata

Assignees

Labels

area: compilerIssues related to `ngc`, Angular's template compilercore: control flowIssues related to the built-in control flow (@if, @for, @switch)state: has PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions