All Questions
Tagged with google-cloud-functions firebase-tools
692 questions
0
votes
1
answer
37
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.&...
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 (...
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 &...
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
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 {...
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 ...
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, ...
0
votes
0
answers
99
views
FirebaseError: Could not detect runtime for functions
I'm trying to deploy a Vite+React+SSR app to Firebase, but Firebase won't recognize the runtime for my server script. I've created a file – server/index.js – running Express.js for SSR rendering of ...
0
votes
0
answers
57
views
While using Firebase emulator, FireStore transaction triggers cloud function (onDocumentUpdated) when it is not supposed to
In my project, I am using FireStore, Cloud Functions, and Firebase emulator in the backend while using Flutter in the backend. I have a transaction that reads a profile document and then uses the ...
0
votes
1
answer
71
views
Cloud Run service `app` does not exist in region `us-central1` in this project
I keep getting the following error when deploying to firebase.
firebase.json [
{
"config": {
"public": "static",
"ignore": [
"...
0
votes
1
answer
33
views
How can you kill all queued and running Firebase Emulator functions?
I'm working with Firebase Emulators to test production code locally. To do this I need to load state from a file into Firestore. This works fine, but I'm having an issue because I have listeners on ...
0
votes
0
answers
56
views
firebase/storage-resize-images fails to deploy after installation
After installing firebase/[email protected] via command line as:
firebase ext:install firebase/[email protected]
After this, I go through all the steps. As part of the logs ...
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
1
answer
154
views
Could not create or update Cloud Run service handlestripewebhook, Container Healthcheck failed
Trying to deploy firebase functions with a Stripe webhook with Svelte5. I set the secrets:
firebase functions:secrets:get STRIPE_SECRET_KEY
firebase functions:secrets:get STRIPE_WEBHOOK_SECRET
...
0
votes
1
answer
58
views
Getting Error when deploying python functions to firebase server
I am trying to upload my python server functions using
firebase deploy
When I run this command I get the following error:
Error: Failed to find location of Firebase Functions SDK. Did you forget to ...