google-cloud-functions Questions
4
Solved
I'm trying to create a schedule Cloud Function exporting my Firestore database to create backups. The code is running fine when serving on my local machine (which uses my personal user account with...
Bennettbenni asked 16/6, 2019 at 11:24
4
Solved
I've used this command to deploy a function from local source:
gcloud beta functions deploy helloWorld --trigger-http
Now, i have updated it's code. How do i deploy my changes?
When i'm using t...
Stefaniastefanie asked 18/12, 2017 at 17:24
5
Solved
Cloud Functions for Firebase was just recently released and I am following the instructions on a fresh install. Here is the "Get Started" page.
I have installed "npm install -g firebase-tools" and...
Edwardedwardian asked 16/3, 2017 at 17:52
11
Solved
In the example bellow, is there a way to get the user id (uid) of the user who wrote to 'offers/{offerId}'? I tried to do as described here but it doesn't work in Firestore.
exports.onNewOffer = f...
Skulk asked 24/10, 2017 at 13:44
2
Solved
Chromium executable doesn't exist for running Playwright within a deployed Google Cloud Function
TL;DR - Does anyone know of a way to run npx playwright install chromium after installing Node.js dependencies, and in the Google Cloud Function's production environment?
Is it possible to run Play...
Wifehood asked 29/7, 2022 at 23:44
2
I am creating a web app where there is an option for authenticated users to upload pictures. I am confused as to whether its better to do it on the front end or backend. I have already implemented ...
Doc asked 16/4, 2021 at 4:49
7
Solved
I am testing express app deployment on firebase using firebase functions.
But after using the command firebase serve. I am getting EADDRINUSE: address already in use :::3000. Here is my index.js
co...
Phagocytosis asked 8/1, 2022 at 10:40
7
Solved
I have a Firebase project with over 10 cloud functions. Today I added 3 more, but all three of the new ones are throwing an error UNAUTHENTICATED without actually trying to hit the function. (There...
Astto asked 11/4, 2020 at 2:8
8
Solved
is there a way to specify the Region/Zone where my firebase functions will be deployed.
Actually i didn't found anything about that in the documentation and my functions are always deployed to us-c...
Suneya asked 23/4, 2017 at 9:48
4
I am writing my first cloud function for Firebase and it requires the firebase-tools module. I've installing it by adding it to my dependencies in the package.json file and running npm install.
Th...
Ryannryazan asked 26/4, 2020 at 15:51
5
This is what I am trying to achieve, implement the firebase's resize image extension, upload an image, then when the resize is completed, add that dowloadUrl's thumbs to a Cloud Firestore document....
Luu asked 30/9, 2019 at 17:37
10
I am trying to run this sample firebase project, but I keep getting this error in the browser console.
Lf {code: "auth/unauthorized-domain", message: "This domain (mail-demo-fcm.firebaseapp.com) i...
Epperson asked 3/1, 2018 at 12:0
8
Solved
I have running multiple Google Cloud functions. One is not operating well, so I want to stop them until I've fixed the situation.
I have seen that I can remove the function, but is there a way to ...
Watts asked 28/4, 2017 at 13:39
4
Solved
My issue is that, given the below yaml file, if I'm making changes for example in any file of "dir: process/cbd-bu-data", Cloud Build runs all the steps serially when triggered. This leads to wasta...
Complexioned asked 3/4, 2020 at 12:6
7
Solved
I'm working on a script where I'm sending a dataframe to BigQuery:
load_job = bq_client.load_table_from_dataframe(
df, '.'.join([PROJECT, DATASET, PROGRAMS_TABLE])
)
# Wait for the load job to c...
Doughy asked 10/1, 2020 at 13:38
14
Solved
How can you delete a Document with all it's collections and nested subcollections? (inside the functions environment)
In the RTDB you can ref.child('../someNode).setValue(null) and that completes ...
Bundestag asked 14/3, 2018 at 20:4
2
I have a NextJS app that I am trying to deploy to firebase hosting, however during the firebase deploy command it seems to get stuck and hang indefinitely (several hours waiting to no avail). The d...
Junia asked 27/2, 2023 at 14:10
3
Solved
I have a Scheduled Cloud Function (using Google's new solution) that is meant to run every Monday at 12:00am.
export const updateHighScores = functions.pubsub.schedule('0 0 * * 1').onRun((context...
Constantine asked 20/5, 2019 at 12:11
3
import functions from 'firebase-functions';
import UtilModuler from '@utilModuler'
exports.helloWorld = functions.https.onRequest((request, response) => {
response.send("Hello from Firebase!")...
Monaxial asked 24/1, 2020 at 22:41
7
I generated a demo express server using these steps:
npm install -g express-generator
express myExpressApp --view pug
Needless to say, the app runs fine on my local machine (npm start)
I then pus...
Smudge asked 6/1, 2021 at 17:9
2
Solved
I am trying to get sourcemaps to work, when developing firebase functions in typescript.
In my tsconfig.json file a have source maps enabled.
This generated the sourcemaps. I then include this li...
Actaeon asked 13/7, 2018 at 9:28
8
I am using firebase cloud functions with javascript on cloud functions.
And, I want to switch from javascript to typescript.
However I cannot use firebase-admin on typescript as following command ...
Fricassee asked 27/5, 2017 at 18:28
0
I have written a Firebase function that throws an error because one of the fields that its updating is undefined.
After some digging search, i would like to use the ignoreUndefinedProperties: true....
Nishanishi asked 7/4, 2024 at 15:42
24
Solved
I have a stripe webhook that call a Firebase function. In this function I need to verify that this request comes from Stripe servers. Here is the code :
const functions = require('firebase-function...
Agriculture asked 22/12, 2018 at 21:17
5
Solved
I`m trying to set up firebase functions, but I get an error after running firebase init.
Error: HTTP Error: 401, Request had invalid authentication credentials. Expected OAuth 2 access token, logi...
Philae asked 19/10, 2018 at 11:29
© 2022 - 2025 — McMap. All rights reserved.