Oh hi there! 😄
To expedite issue processing please search open and closed issues before submitting a new one. Existing issues often contain information about workarounds, resolution, or progress updates.
<!-- Can you pin-point one or more @angular/* packages as the source of the bug? --> <!-- ✍️edit: --> I guess it's the @angular-devkit/build-angular
<!-- Did this behavior use to work in the previous version? -->
<!-- ✍️--> Yes, the previous version in which this bug was not present was: I guess somewhat around
If I use structural directives (at least
*ngIf and I also got this with the forms module) combined with
ng server (
yarn start) the app works (so it's not an issue with
CommonModule not being imported or similar). Then you need to change a thing in the template (just add text somewhere) and when
ng serve reloads then it can't find the directive. This get resolved again if you restart
<!-- Please create and share minimal reproduction of the issue starting with this template: https://stackblitz.com/fork/angular-issue-repro2 --> <!-- ✍️--> https://github.com/cromefire/ngIf-issue
If StackBlitz is not suitable for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue.
A good way to make a minimal reproduction is to create a new app via
ng new repro-app and add the minimum possible code to show the problem.
Share the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.
Issues that don't have enough info and can't be reproduced will be closed.
You can read more about issue submission guidelines here: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-submitting-an-issue -->
<!-- If the issue is accompanied by an exception or an error, please share it below: --> <!-- ✍️-->
Template error: Can't bind to 'ngIf' since it isn't a known property of 'h1'.
Template error: Can't bind to 'ngIf' since it isn't a known property of 'ng-container'.
Template error: Can't bind to 'ngIf' since it isn't a known property of 'div'.
ng version and paste output below -->
Angular CLI: 8.3.3 Node: 12.10.0 OS: linux x64 Angular: 8.2.5 ... animations, common, compiler, compiler-cli, core, forms ... language-service, platform-browser, platform-browser-dynamic ... router Package Version ----------------------------------------------------------- @angular-devkit/architect 0.803.3 @angular-devkit/build-angular 0.803.3 @angular-devkit/build-optimizer 0.803.3 @angular-devkit/build-webpack 0.803.3 @angular-devkit/core 8.3.3 @angular-devkit/schematics 8.3.3 @angular/cli 8.3.3 @ngtools/webpack 8.3.3 @schematics/angular 8.3.3 @schematics/update 0.803.3 rxjs 6.4.0 typescript 3.5.3 webpack 4.39.2
Anything else relevant? <!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. -->
<!-- ✍️Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below. -->
components already have support for