Upon lazy loading an Angular module, I encountered an issue when trying to open my DatesModal
that resulted in the following error:
No component factory found for DatesModal. Have you included it in @NgModule.entryComponents?
The declaration and entryComponents sections of my lazyModule
are defined as follows:
declarations: [DatesModal]
entryComponents: [DatesModal]
I have made sure to include DatesModal
in the entryComponents array of the lazyModule. Can anyone suggest what might be causing this error?
If more information is needed to address this question, please feel free to ask.