Skip to main content

All Questions

0 votes
1 answer
39 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.&...
starleaf1's user avatar
  • 2,894
0 votes
1 answer
55 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 (...
aldel's user avatar
  • 6,788
-1 votes
1 answer
28 views

Getting data from the CLI, using a Firestore database [closed]

When working with a Firebase Realtime database, one can use a command like the following, in the terminal, in order to query for data in a collection: firebase database:get /DB_Path --order-by ...
Michel's user avatar
  • 11.8k
0 votes
1 answer
18 views

Firebase Emulator Suite Ignoring firebase.json port configuration, always defaults to 5002 for Hosting

I'm encountering a persistent issue with the Firebase Emulator Suite where the Hosting emulator consistently ignores the port configuration specified in my firebase.json file and always defaults to ...
Shawn Whitney's user avatar
0 votes
0 answers
20 views

Firebase database emulator opens new terminal instead of writing logs to file

Whenever I run firebase emulators:start it starts my emulators. The problem is that the Realtime Database emulator doesn't log the logs to the file database-debug.log. Instead it spawns a new terminal ...
Yigit's user avatar
  • 1
1 vote
1 answer
43 views

Firebase Cloud Function - Can't find the storage bucket region

Trying to deploy my firebase cloud function and getting the following error: Error: Can't find the storage bucket region The function I'm trying to deploy looks like: import {initializeApp} from &...
Ayrix's user avatar
  • 523
2 votes
1 answer
128 views

`firebase deploy` throws an error "TypeError Cannot read properties of null (reading 'length')"

When I run firebase deploy, I get the following error: TypeError Cannot read properties of null (reading 'length') What do I do to fix this?
Evorlor's user avatar
  • 7,648
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 ...
Marco's user avatar
  • 31
0 votes
0 answers
24 views

Error: Failed to load function definition from source: FirebaseError: Failed to parse build specification

On running "firebase emulators:start --only functions" this error shows functions: Failed to load function definition from source: FirebaseError: Failed to parse build specification const {...
rajat bedi's user avatar
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 ...
M.Ismail's user avatar
0 votes
1 answer
47 views

run firebase emulator in spring boot test

I need to migrate some documents from one collection to another. This migration runs when the application starts up. It checks if the migration is finished, if it's not, it will run it otherwise it ...
Thomas E's user avatar
  • 521
1 vote
0 answers
18 views

How to deploy to Firebase in non-interactive mode with safe defaults?

When deploying firestore and functions code with firebase-tools, there are three questions that can come up (I don't remember them literally): The following functions exist in your project but are ...
Thijs Koerselman's user avatar
0 votes
2 answers
166 views

Firebase app hosting unable to retrieve secrets from cloud secret manager

I try to use cloud secret manager in combination with firebase app hosting, but app hosting can't fetch the keys from the secret manager when it's building. My apphosting.yaml file looks like this: ...
rafbanaan's user avatar
  • 451
0 votes
1 answer
217 views

Getting PathNotFoundException: Cannot open file, path = 'flutter_app\android\build.gradle` after flutter 3.29.0 using firebase-cli

After upgrading to Flutter 3.29.0, Android build scripts have migrated to .kts files. When trying to connect my project to Firebase using the flutterfire CLI, I'm encountering a PathNotFoundException: ...
Munsif Ali's user avatar
  • 6,718
0 votes
1 answer
63 views

Which permissions do I need to deploy a Firebase Function?

I'm implementing some changes to an old somebody's project and I need to deploy a firebase function since its backend it's all on Firebase. The thing is that I've got the Cloud Functions Admin role, ...
Facundo's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
102