ngx-bootstrap Modal Component not found even after adding to entry component
Clash Royale CLAN TAG #URR8PPP ngx-bootstrap Modal Component not found even after adding to entry component Recently I have converted an ASPNETCORE 2.0 angular app to ASPNETCORE 2.1 angular app (later one uses angular/cli app). In the previous version I had some Modal Components built with ngx-bootstrap which were working correctly. But after conversion those components stopped working and started throwing this error - ASPNETCORE 2.0 ASPNETCORE 2.1 angular/cli No component factory found for {component}. Did you add it to @NgModule.entryComponents? I have added following to my app.module.ts file - @NgModule({ imports: [ ModalModule.forRoot(), MySubModule ], entryComponents: [ MyModalComponent ] }) In my MySubModule - MySubModule @NgModule({ declarations: [ MyModalComponent ], imports: [ ModalModule.forRoot() ] exports: [ MyModalComponent ] }) Even though I have defined my entry component it's...