All Questions
Tagged with firebase-tools node.js
283 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
267
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 ...
0
votes
1
answer
127
views
Firebase functions emulator get actor user information
I need to construct specific linked documents when Firestore object is created, and I need to know who created the specific document. Based on documentation I should be able to use ...
0
votes
0
answers
49
views
How to know that an object is a folder using Cloud Functions with Cloud Storage Trigger
I'd like to know how I could detect that an object (that was recently created) is of type "folder".
Currently, I do this with this piece of code:
export const resizeImage = onObjectFinalized(...
-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": "...
0
votes
1
answer
98
views
Can I use the Auth Token of a user in Firebase CLI as credentials for Firebase Admin SDK?
If you're using firebase-tools as a module, you can get the refresh token of a user by
import { getGlobalDefaultAccount } from "firebase-tools/lib/auth.js";
const account = ...
1
vote
0
answers
161
views
Can't use service account on emulator
I'm working on a project using React and Firebase. I'm working with Firebase emulator and I want to get the getDownloadURL out of a an image thats uploaded to Firebase storage so that i can add it to ...