Started a new project using Angular 9.0.4, and in my sub module, I get AsyncPipe not found when I try to use it in an *ngIf. The only thing I found on Google is to disable Ivy, or closed defects with no resolution. Seems such a basic thing and this worked in Angular 6, 7, 8, but not 9.
Here is a github repository with just enough to reproduce the issue. AppModule has a component, Test1Component which uses AsyncPipe with no problem. There is "AnotherModule" with Test2Component that uses the exact same code and has error "Async Pipe not found."
I've also read that you have to import CommonModule, and it is included by default in the new module. I'm left scratching my head. Thankfully it's a personal project and not the end of the world (yet!)
https://github.com/jamisonroberts/Angular9Test.git
Thanks.
CommonModule
to imports ofanother-module-routing.module.ts
– Bill F