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

529
Vistas
how do I solve : Expected first argument to collection() to be a CollectionReference, a DocumentReference or FirebaseFirestore]

I'm trying to create this registration page using Firestore however while my app runs, I receive the following error and my Firestore does not get updated while my firebase does. I'm thinking it has to do something with my firebase.js as that where I invoked the method "doc". my codes is as follows

enter image description here

enter image description here

please help to advice how I can go about solving the problem as I am quite new to Javascript and Firestone. Thank you!

about 4 years ago · Juan Pablo Isaza
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