Closed azaeng04 closed 3 years ago
One of your modules has something named SearchPopupComponent
that is in the exports
section of the @NgModule config but is not in the declarations
section.
This is the module and it seems to only be under the entryComponents?
@NgModule({
imports: [
ReactiveFormsModule,
HttpClientModule,
CommonModule,
CalendarModule,
CoreRoutes,
SharedModule,
],
entryComponents: [
HierarchyComponent,
SearchPopupComponent,
FilterPopupComponent,
SaveSearchPopupComponent,
ManageSavedSearchesPopupComponent,
ExportPopupComponent,
TagPopupComponent,
TransactionFilterPopupComponent,
GenericFormPopupComponent,
GenericFormGroupPopupComponent,
JsonEditorPopupComponent,
NdlPopupComponent,
SelectPopupComponent,
],
declarations: [CoreComponent],
providers: [
AdminAuthorisationGuard,
BapAuthorisationGuard,
NoAuthGuard,
RoleInterfaceGuard,
CanDeactivateGuard,
FileLimitationResolver,
ApplicationService,
BapModelMapping,
BreadcrumbService,
DeploymentService,
GuiRuleService,
HierarchyService,
MenuService,
RbacService,
ReactiveFormService,
RoutingStateService,
StaticDataService,
SearchService,
TemplateService,
TransactionService,
VossDialogService,
UtilsService,
],
})
Thanks @getsaf that actually helped!
Any reason why I would be receiving this error? I am trying to test an Angular service.