Description
Hi, Please help me with the folllowing compiling issue:
I have installed :
My project have the following dependencies:
"@angular/animations": "^10.0.14",
"@angular/cdk": "^10.2.2",
"@angular/common": "~10.0.2",
"@angular/compiler": "~10.0.2",
"@angular/core": "~10.0.2",
"@angular/forms": "~10.0.2",
"@angular/material": "^10.2.2",
"@angular/platform-browser": "~10.0.2",
"@angular/platform-browser-dynamic": "~10.0.2",
"@angular/router": "~10.0.2",
"angularfire2": "^5.4.2",
"chart.js": "^2.9.3",
"firebase": "^8.0.0",
"ng2-charts": "^2.4.1",
"ngx-pagination": "^5.0.0",
"rxjs": "~6.5.5",
"sweetalert2": "^9.17.2",
"tslib": "^2.0.0",
"zone.js": "~0.10.3"
Compilation output
ERROR in node_modules/@angular/fire/firebase.app.module.d.ts:2:10 - error TS2614: Module '"../../firebase"' has no exported member 'auth'. Did you mean to use 'import auth from "../../firebase"' instead?
2 import { auth, database, messaging, storage, firestore, functions } from 'firebase/app';
~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:16 - error TS2614: Module '"../../firebase"' has no exported member 'database'. Did you mean to use 'import database from "../../firebase"' instead?
2 import { auth, database, messaging, storage, firestore, functions } from 'firebase/app';
~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:26 - error TS2614: Module '"../../firebase"' has no exported member 'messaging'. Did you mean to use 'import messaging from "../../firebase"' instead?
2 import { auth, database, messaging, storage, firestore, functions } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:37 - error TS2614: Module '"../../firebase"' has no exported member 'storage'. Did you mean to use 'import storage from "../../firebase"' instead?
2 import { auth, database, messaging, storage, firestore, functions } from 'firebase/app';
~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:46 - error TS2614: Module '"../../firebase"' has no exported member 'firestore'. Did you mean to use 'import firestore from "../../firebase"' instead?
2 import { auth, database, messaging, storage, firestore, functions } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/firebase.app.module.d.ts:2:57 - error TS2614: Module '"../../firebase"' has no exported member 'functions'. Did you mean to use 'import functions from "../../firebase"' instead?
2 import { auth, database, messaging, storage, firestore, functions } from 'firebase/app';
~~~~~~~~~
node_modules/@angular/fire/storage/interfaces.d.ts:1:10 - error TS2614: Module '"../../../firebase"' has no exported member 'storage'. Did you mean to use 'import storage from "../../../firebase"' instead?
1 import { storage } from 'firebase/app';
~~~~~~~
node_modules/@angular/fire/storage/observable/fromTask.d.ts:3:10 - error TS2614: Module '"../../../../firebase"' has no exported member 'storage'. Did you mean to use 'import storage from "../../../../firebase"' instead?
3 import { storage } from 'firebase/app';
~~~~~~~
node_modules/@angular/fire/database/interfaces.d.ts:2:10 - error TS2614: Module '"../../../firebase"' has no exported member 'database'. Did you mean to use 'import database from "../../../firebase"' instead?
2 import { database } from 'firebase/app';
~~~~~~~~