Skip to main content
0 votes
1 answer
34 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,884
0 votes
1 answer
52 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 vote
1 answer
86 views
+50

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 ...
Shivam Kumar's user avatar
-1 votes
1 answer
27 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
41 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
0 votes
1 answer
22 views

Firebase error Unable to sync Firebase Auth state

I'm using a service account to deploy using firebase cli from Github action. This is the set of permissions this account has: ROLE roles/cloudfunctions.admin roles/firebase.sdkAdminServiceAgent roles/...
angelcervera's user avatar
  • 4,239
2 votes
1 answer
126 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
2 votes
1 answer
36 views

Firebase.initializeApp() works in main() but fails in setUpAll() with PlatformException(channel-error) during unit testing with Firebase Emulator

I am trying to run unit tests for my Flutter project that uses Firebase Firestore, and I want to test it with the Firebase Emulator. I am able to initialize Firebase and connect to the Firestore ...
TONI IVANOV's user avatar
0 votes
1 answer
51 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
0 votes
0 answers
22 views

Firebase storage unit tests: Timeout when trying to upload files using emulator

When running the below test via npm test, I get the following output: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure ...
Clare Sudbery SSE Ltd's user avatar

15 30 50 per page
1
2 3 4 5
73