Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create User: ReferenceError: collection is not defined #38

Open
fernandoamorim30 opened this issue Jul 20, 2024 · 1 comment
Open

Create User: ReferenceError: collection is not defined #38

fernandoamorim30 opened this issue Jul 20, 2024 · 1 comment

Comments

@fernandoamorim30
Copy link

When I send the data to create new user, I receive this responde:

image

image

How I solve this?

My firebase version: "firebase": "^10.12.4"

Thanks

@juanpa669
Copy link

juanpa669 commented Oct 3, 2024

import {
  arrayUnion,
  collection,
  doc,
  getDoc,
  getDocs,
  query,
  serverTimestamp,
  setDoc,
  updateDoc,
  where,
} from "firebase/firestore";

Did you import collection ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants