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

后端 未结 25 2115
佛祖请我去吃肉
佛祖请我去吃肉 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:04

    Restarting your server may not work always. I have got this error when I imported MatFormFieldModule.

    In app.module.ts, I have imported MatFormField instead of MatFormFieldModule which lead to this error.

    Now change it and restart the server, Hope this answer helps you.

提交回复
热议问题