Skip to main content

All Questions

0 votes
1 answer
35 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
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
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
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-...
M Umair's user avatar
2 votes
1 answer
52 views

How to use react-native-firebase auth emulation?

im using react-native-firebase v21.6.1 and im trying to start the auth service emulation. Ive gotten the firestore and functions emulation working. firebase.json "emulators": { "...
benwl's user avatar
  • 514
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....
sidx8's user avatar
  • 11
0 votes
0 answers
44 views

Can't connect to firebase auth emulator

Operating System Windows 11 Environment Chrome Version 127.0.6533.122 (Official Build) (64-bit), nodejs v20.14.0 Firebase SDK Version ^10.13.0 Firebase SDK Product(s) Auth Project Tooling react-native ...
kr17's user avatar
  • 81
-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 ...
Matheus Ribeiro's user avatar
2 votes
2 answers
1k views

How to initialize v2 Firebase Cloud Functions to authenticate as Firebase Admin SDK service account?

I really love Google products but sometimes the documentation can be painfully terse or fragmented. I read this incredibly eloquent answer by someone who was as clueless as me who felt compelled to ...
ctrl freak's user avatar
  • 12.4k
0 votes
0 answers
24 views

Firebase Cloud Functions writing on firestore database doesn't affect firestore emulator

I just got started with Firebase Cloud Functions. I'm just trying to update a document field on my Firestore Database through an https triggered function. Here is my code: import * as v2 from "...
Andrea Militano's user avatar
2 votes
0 answers
86 views

Google Cloud Functions v2 deploy always fails to clean up [duplicate]

I have created a brand new Node.js 20 v2 GCP Cloud Function project. Every time I deploy I get the error message below: > $ firebase deploy --only "functions:triggerCacheRebuildv2" === ...
Kermit's user avatar
  • 3,417
0 votes
1 answer
245 views

Firebase: local functions emulator throws a 401 Unauthenticated

I've set up the emulators in my project and all of them work fine, except for functions where I receive a 401 Unauthenticated errors. Is there some other setting somewhere for functions I need to ...
conor909's user avatar
  • 1,633
1 vote
0 answers
19 views

Firebase function deployment- Function can't be found in local source code error

I'm trying to deploy my Firebase project's functions but I'm getting a message telling me that my function can't be found in my local source code but it's there, so now I'm stuck. my IDE and terminal: ...
justanicole's user avatar
2 votes
0 answers
234 views

Firebase Authentication Issue with Emulator

I am building a site with a custom domain that uses and is hosted by Firebase. I use the Google and Anonymous authentication providers (with signInWithRedirect). Up until adding the custom domain, ...
tukool's user avatar
  • 132
0 votes
1 answer
57 views

Why does my express code cause the firebase emulator to fail?

This is using express.js and firebase. If I try and access a different file with routes on it, it fails. This code fails, and gives me this error instead of emulating successfully. const functions = ...
CreeperMan 1253's user avatar

15 30 50 per page
1
2 3 4 5
11