reactive-angular-course
reactive-angular-course copied to clipboard
Object literal may only specify known properties, and 'entryComponents' does not exist in type 'NgModule'.
On the 1-start branch I get the following error when running 'npm start' for the very first time (Master branch compiles alright):
Error: src/app/app.module.ts:79:3 - error TS2345: Argument of type '{ declarations: (typeof CourseDialogComponent | typeof HomeComponent | typeof CourseComponent | typeof LoginComponent | typeof LessonComponent | typeof SafeUrlPipe)[]; imports: (typeof BrowserModule | typeof AppRoutingModule)[]; providers: undefined[]; bootstrap: (typeof AppComponent)[]; entryComponents: (typeof Cou...' is not assignable to parameter of type 'NgModule'. Object literal may only specify known properties, and 'entryComponents' does not exist in type 'NgModule'.
79 entryComponents: [CourseDialogComponent] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This seems to resolve itself when you comment out line 79 from app.module.ts