错误NG6002:出现在AppModule的NgModule.imports中,但无法解析为NgModule类
第一次使用Firestore,但出现此错误。从我的研究来看,常春藤似乎是一个问题。我没有很多修改tsconfig.app.json的经验,这是我根据其他答案所指向的方向。 我能够从原始项目中进行的唯一修改是使用Angular Fire 6而不是5,而我最初是按照教程学习的。 这是package.json: { "name": "language", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@angular/animations": "~9.0.1", "@angular/cdk": "^9.0.0", "@angular/common": "~9.0.1", "@angular/compiler": "~9.0.1", "@angular/core": "~9.0.1", "@angular/fire": "^6.0.0-rc.1", "@angular/flex-layout": "^9.0.0-beta.29", "@angular/forms": "~9.0.1", …