Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

237
Vistas
Module '"@angular/fire/firestore"' has no exported member 'AngularFirestoreModule'

import { AngularFirestoreModule } from '@angular/fire/firestore' ; // => Error

Module '"@angular/fire/firestore"' has no exported member 'AngularFirestoreModule'

package.json

"@angular/fire": "^7.0.4",

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

I encountered the same problem and in the GitHub repo (https://github.com/angular/angularfire) is explained how to adjust the code for the new version

import { Firestore, collectionData, collection } from '@angular/fire/firestore';
import { Observable } from 'rxjs';
...
item$: Observable<Item[]>;
constructor(firestore: Firestore) {
    const collection = collection(firestore, 'items');
    this.item$ = collectionData(collection);
  }

You also have to change the way you initialize the app in the app.module.ts

import { provideFirebaseApp, getApp, initializeApp } from '@angular/fire/app';
import { getFirestore, provideFirestore } from '@angular/fire/firestore';

@NgModule({
  imports: [
    provideFirebaseApp(() => initializeApp({ ... })),
    provideFirestore(() => getFirestore()),
  ],
  ...
})
over 4 years ago · Santiago Trujillo Denunciar

0

Angular has changed its angularfire syntax right away. Check their github repo; thus just google Angularfire github and you will see their new codes. I myself am disappointed Angular has to change their firebase codes...\

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda