Description
🐞 bug report
Affected Package
Unfortunately I'm not sure which exact package is causing the issue. The issue doesn't happen when my project is on @angular/*@11.0.x. The issue happens when the project is upgraded to @angular/*@11.1.x
Is this a regression?
Yes, the previous version in which this bug was not present was: 11.0.9
Description
ngFor
seemingly stopped working and doesn't render anything.
🔬 Minimal Reproduction
The working version with reproduction steps: https://github.com/dezsiszabi/ng11-bug-report-1-working
The non-working version with reproduction steps: https://github.com/dezsiszabi/ng11-bug-report-1-not-working
The only difference between the repositories is the version of angular used.
If you don't have access, please let me know. I think you should though.
🔥 Exception or Error
No exception or error is thrown. It just doesn't render the component correctly.
🌍 Your Environment
From the non-working repository:
Angular Version:
_ _ ____ _ ___
/ \ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|
/ △ \ | '_ \ / _` | | | | |/ _` | '__| | | | | | |
/ ___ \| | | | (_| | |_| | | (_| | | | |___| |___ | |
/_/ \_\_| |_|\__, |\__,_|_|\__,_|_| \____|_____|___|
|___/
Angular CLI: 11.1.2
Node: 14.15.4
OS: win32 x64
Angular: 11.1.1
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes
Package Version
---------------------------------------------------------
@angular-devkit/architect 0.1101.2
@angular-devkit/build-angular 0.1101.2
@angular-devkit/core 11.1.2
@angular-devkit/schematics 11.1.2
@angular/cli 11.1.2
@schematics/angular 11.1.2
@schematics/update 0.1101.2
ng-packagr 11.1.3
rxjs 6.5.5
typescript 4.1.3
Anything else relevant?
I noticed that if I run ng build angular-tour-of-heroes
instead of ng build angular-tour-of-heroes --prod
, then it works even with the Angular 11.1.x (non-working) repo above.