Skip to main content

All Questions

1 vote
0 answers
38 views

Google Cloud Run Function v2 - erratic trigger [duplicate]

PLEASE NOTE: This question is related to my previous question (Deployment of Google Cloud Run Function v2 - trigger not invoked / run), but is regarding a different specific problem. I am migrating my ...
Kermit's user avatar
  • 3,417
0 votes
1 answer
444 views

Deployment of Google Cloud Run Function v2 - trigger not invoked / run

I am migrating my Google Cloud Run Functions from v1 and Node 12 to v2 and Node 20. So far I have upgraded onSchedule and onMessagePublished triggers with no problem. When trying to deploy Realtime ...
Kermit's user avatar
  • 3,417
0 votes
1 answer
85 views

Realtime database `onValueWritten` event does not trigger in emulator

I have the following code in the onDbUpdated function: //source: https://firebase.google.com/docs/functions/database-events?gen=2nd import {onValueWritten} from "firebase-functions/v2/...
Manube's user avatar
  • 5,242
1 vote
0 answers
141 views

"function ignored because the pubsub emulator does not exist or is not running." - Despite admin credential has been setup

I have the same issue as described in Firebase functions won't see pubsub emulator running locally As stated in the answer, the solution is to setup admin credential. I have followed the step. But,...
Cheok Yan Cheng's user avatar
1 vote
1 answer
79 views

`firebase deploy` error "Project has no namespace"

I tried running firebase deploy --only functions to upload a new Node.js cloud functions to firebases, and I am presented with this error: ⚠ functions: failed to update function projects/my-app/...
zh24's user avatar
  • 401
0 votes
1 answer
72 views

When I deploy a Google Cloud Function in Typescript, it also deploys my .ts files

I have my file structure like this: tsconfig.json package.json src/ts files.. lib/js files.. When I deploy the function using firebase deploy, I notice that it also uploads the .ts files. Is that the ...
Jordan's user avatar
  • 1,652
0 votes
0 answers
154 views

It is possible to use 'google-cloud/logging' in local with the firebase emulator?

When I try to log locally using the Firebase Emulator with GCP logging, I can't use logging from the library @google-cloud/logging. If I use console.log(), it works fine. I have already tried ...
LAZREQ's user avatar
  • 33
0 votes
0 answers
142 views

Firebase CLI not letting me register the app without package name, not even letting me provide one

I was registering my flutter project with the firebase project that I created on the website. I followed the steps there and along the way it asked me for the package name (application id) which it's ...
Sanjay Kumar Parida's user avatar
0 votes
0 answers
18 views

Safe to manually delete Google Artifact Registry images from already-deployed Firebase Cloud Functions functions? [duplicate]

When deploying Firebase Cloud Functions functions through the Firebase CLI, I am often met with the following error: functions: Unhandled error cleaning up build images. This could result in a small ...
ctrl freak's user avatar
  • 12.4k
3 votes
1 answer
330 views

Can't grant Cloud Functions Invoker to Firebase Functions

I'm trying to deploy my Firebase Functions to a project which is part of an Organisation under a GSuite account. The account I'm logged into the firebase CLI and console have Owner IAM permissions. ...
Andrew Bullock's user avatar
0 votes
1 answer
65 views

Firebase error when deploying cloud function: Cannot find module ...firebase-functions\lib\bin\firebase-functions.js'

I'm facing this issue and I don't know how to resolve it. I'd like to deploy a Firebase hosting app which use cloud functions from Firebase. so here is the logs firebase deploy --only functions:...
Gladitor's user avatar
  • 136
1 vote
1 answer
32 views

Debugging hosting emulator firebase

Is it possible to debug hosting emulator inside VS Code for example. Functions have --inspect-functions and that works really good we can attach to it. Is there something like that in hosting emulator ...
Dživo Jelić's user avatar
0 votes
1 answer
181 views

Firebase hosting emulator over https GOOGLE SUPPORT FOR DEVELOPERS NON EXISTENT [duplicate]

Is it possible to have https://localhost:5000 for the hosting firebase emulator setup. I need this since i am developing a word addin and it requires https. I have tried using a devtunnel and ngrok ...
Dživo Jelić's user avatar
2 votes
4 answers
1k views

How to run firebase blocking function (beforeUserCreated) in emulator suite?

After searching for numerous hours all over the web and asking ChatGPT, I have found no solution. I have a Firebase Project (Web App) and I am using Gen2 Javascript Node for Firebase Functions. I have ...
Brandon Haynes's user avatar
1 vote
0 answers
57 views

in GCP functions local simulator is there a way to only load certain functions?

I have an app with dozens of functions and it takes a long time to reload. Is there a way to make it only load certain functions at startup? I tried the same syntax as deploying only some funcs like: ...
dcsan's user avatar
  • 12.4k

15 30 50 per page
1
2 3 4 5