1,877 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
112
views
Can't connect to firebase auth emulator
I successfully had the firebase auth emulator working a few days ago, but it has mysteriously stopped working. I get a generic network error when trying to authenticate with any platform. I am using a ...
0
votes
0
answers
31
views
Firebase CLI fails with "An unexpected error has occurred" only when deploying storage
I'm trying to deploy Cloud Storage CORS settings using the Firebase CLI, but it consistently fails with a generic "Error: An unexpected error has occurred."
Project ID:
oa-maintenance-v2
...
0
votes
1
answer
50
views
firestore Emulator database query results are incorrect/unstable
I am using the Google Firestore Emulator locally for development. However, when I query the database data, I find that the results are inconsistent and not correct each time. Here is the detailed ...
0
votes
0
answers
44
views
CORS issues with remote Firebase Authentication Emulator on Firebase Studio
I recently broke a project I've been working on in a single Firebase workspace into two workspaces. Since then, I've been trying to connect my Angular frontend with the backend where the Auth Emulator ...
0
votes
0
answers
61
views
Unable to load environment variables after upgrading firebase-tools, firebase-admin, and firebase-functions
I recently upgraded to the latest versions of firebase-tools -> 14.10.1, firebase-admin -> 13.4.0, and firebase-functions -> 6.3.2. After the upgrade, I am no longer able to deploy the ...
2
votes
1
answer
73
views
Firebase Cloud Functions: Document deletion not working properly and execution timing issues [closed]
I have two Firebase Cloud Functions with onDocumentCreated triggers. The issue is that when my delete function tries to delete a document that doesn't exist, it somehow triggers the checker function, ...
1
vote
0
answers
36
views
Firebase Functions deployment fails with "Cannot find module" when using organized folder structure
I'm facing a persistent deployment issue after refactoring my Cloud Functions from a single large index.js file into an organized folder structure as recommended in the documentation. The deployment ...
0
votes
1
answer
634
views
Firebase MCP server shows "zero tools available" in Cursor and Windsurf despite valid config and auth
I’m trying to set up the Firebase MCP server in Cursor and Windsurf, but no matter what I try, it consistently returns:
No tools available
I’ve followed the official Firebase MCP documentation ...
0
votes
1
answer
67
views
FirebaseAuthException ([firebase_auth/unknown] An internal error has occurred. [ Failed to connect to /10.0.2.2:9099)
I keep receiving an error when running on flutter:
FirebaseAuthException ([firebase_auth/unknown] An internal error has occurred. [ Failed to connect to /10.0.2.2:9099)
I'm using a physical Android ...
0
votes
1
answer
97
views
Firebase deploy --only functions:myFunction in Gen2 Cloud Run - Pulling all my files with other functions
I am in the process of migrating from version 1 of Google Cloud Functions to generation 2 in cloud run. I've update my functions, but when they are deployed using --only functions:myFunction command ...
0
votes
0
answers
95
views
Cloud Function (1st Gen) failing with 'Firestore database does not exist' despite database being present in compatible multi-region (nam5)
I'm trying to deploy a Firebase Cloud Function (1st Generation, Node.js) that is triggered by a Firestore onCreate event. The deployment consistently fails with an error indicating that my Firestore (...
1
vote
0
answers
41
views
Firebase CLI: "Cloud resource location is not set" error even after setting location for Cloud Storage
I'm trying to set up Firebase Storage in a new Angular project using firebase init storage.
I already set the Cloud resource location (europe-west3) in the Firebase Console, but when I run the init ...
0
votes
1
answer
57
views
Imported modules becoming undefined in TypeScript Firebase Functions
I'm using Firebase Functions in TS. When executing npm run-script build and starting the emulator, here's what it throws:
TypeError: Cannot read properties of undefined (reading 'user')
at Object.&...
0
votes
1
answer
341
views
"Error: There was an error deploying functions" with no other info
I'm getting the error "There was an error deploying functions" when trying to deploy a newly created function. There is no other error info in the output:
i functions: updating Node.js 22 (...
3
votes
1
answer
509
views
Firebase Hosting "Site Not Found" Error after Successful Deployment (React + Vite)
I deployed my React app to Firebase Hosting, and the deployment logs indicate success, but accessing the hosting URL shows a "Site Not Found" error. The build is performed correctly, as it's ...