Module '"@angular/fire/messaging"' has no exported member 'AngularFireMessaging'
Check the versions compatibility illustrated here:
https://www.npmjs.com/package/@angular/fire
Module '"@angular/fire/messaging"' has no exported member 'AngularFireMessaging'
Check the versions compatibility illustrated here:
https://www.npmjs.com/package/@angular/fire
Module '"@angular/fire/firestore"' has no exported member 'AngularFirestore'
//Angular changed the syntax, the new import should be:
import { Firestore,
collectionData, collection} from '@angular/fire/firestore';
//You should also change the construction:
item$: Observable<Item[]>;
constructor(firestore: Firestore) {
const collection = collection(firestore, 'items');
this.item$ = collectionData(collection);
}
//Check the GitHub repo in the source for more details
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us