All Questions
225 questions
3
votes
0
answers
69
views
Error with Firebase deploy, service account format issue
Error Message
[info] Functions deploy had errors with the following functions:
addmessage(us-central1)
[debug] [2025-03-27T22:03:14.260Z] Not printing URL for HTTPS function. Typically this means it ...
0
votes
1
answer
52
views
ERR_NETWORK_IMPORT_DISALLOWED when I run `firebase emulators:start`
I am implementing a payment gateway. I am using Firebase Cloud Functions to run these APIs. I have a functions folder that has my functions and everything is set up for them. I am emulating the ...
0
votes
0
answers
38
views
How to deploy firebase auth emulator on EC2 instance
I am trying to run firebase auth emulator on local and its running fine on local but not run on EC2 instance and i am facing issues that are stated below
{
"projectId": "bubble-dev-...
0
votes
1
answer
41
views
Firebase Emulators: How to emulate specific functions in subfolders
I'm trying to emulate only specific Cloud Functions within my Firebase project. My functions are organized in subfolders within a "functions" directory.
My folder structure looks like this:
...
0
votes
2
answers
268
views
Can't init firebase cloud storage due to cloud resource location
I’m using Firebase emulators to develop and test Cloud Functions locally, and one of my use cases involves uploading a file to Cloud Storage. As part of this process, I initialize Firebase emulators ...
0
votes
1
answer
48
views
FirebaseCommandException while running flutterfire configure
I am trying to configure the Firebase in my project. After installing the firebase-tools package using npm, I try to configure the Firebase project in my flutter project but i am getting the error all ...
3
votes
2
answers
1k
views
Firebase Functions "cannot determine backend specification"
I started intermittently receiving this error
⬢ functions: Failed to load function definition from source: FirebaseError: User code failed to load. Cannot determine backend specification
when ...
1
vote
0
answers
61
views
Firebase Emulator: "Path segment cannot be empty" error when deploying Firestore/Storage rules
I'm running into an issue when trying to test Firestore and Storage rules locally using the Firebase Emulator Suite. I receive the following error:
⚠ Unexpected rules runtime error: java.lang....
0
votes
0
answers
24
views
How to initate firebase command globally?
I have installed firebase CLI using the firebase website , (not the npm/node.js one) I have setup everything , now the problem is that firebase command only works in firebase CLI and not in cmd or ...
-1
votes
1
answer
146
views
Firebase emulator storage - Can't connect to firebase storage emulator with getStorage
I wonder if somebody could me debugg why I cannot connect to the firebase emulator or share some knowledge on how to connect pls.
Goal: Connect to the Firebase storage emulator.
Context: I tryed ...
0
votes
0
answers
83
views
Firebase Emulator Suite throws: Permission denied because no Storage ruleset is currently loaded, check your rules for syntax errors
I'm integrating the Resize Images by Firebase extension. I'm trying to create a new bucket, so I attach it to this extension.
firebase.json
{
"firestore": {
"rules": "...
3
votes
1
answer
267
views
Firebase deploy - 'runtime' field not found in firebase.json or package.json
I'm trying to deploy my firebase functions from multiple different folders using firebase deploy. During deployment I get this error:
Error: runtime field is required but was not found in firebase....
0
votes
0
answers
150
views
Firebase Emulator Consistently Uses Random and Already Occupied Ports Despite Configuration
I'm facing an issue with Firebase local serving. It seems Firebase is using a different port to serve the server locally. The worst part is that it's a random port every time, and each time it's ...
0
votes
1
answer
71
views
Firebase Function - conditionally deploy function based on logic using paramaterized config
We used to use firebase functions config with 1st gen functions like this code snippet below. Code like this used to work to only deploy that function when it was the production environment:
const ...
0
votes
1
answer
65
views
Firebase error when deploying cloud function: Cannot find module ...firebase-functions\lib\bin\firebase-functions.js'
I'm facing this issue and I don't know how to resolve it. I'd like to deploy a Firebase hosting app which use cloud functions from Firebase.
so here is the logs
firebase deploy --only functions:...