error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class

后端 未结 25 1887
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-13 12:43

First time using firestore and I\'m getting this error. It seems to be a problem with Ivy, from my research. I don\'t have a lot of experience modifying tsconfig.app.json, w

25条回答
  •  有刺的猬
    2020-12-13 13:07

    This error shows when you add component declaration in imports: [] instead of declarations: [], e.g:

    declarations: [
      AppComponent,
    ],
    imports: [
      BrowserModule,
      AppRoutingModule,
      SomeComponent <-----------wrong
    ],
    

提交回复
热议问题