为1个项目创建2个云功能?

问题描述如何为1个项目创建2个CloudFunctions?目前,我只能部署一个.HowdoIcreate2CloudFunctionsfor1project?Currently,I'monlyabletodeployone.推荐答案否,您可以部署许多功能Noyoucandepl

发布:2022-10-16 标签:firebasegoogle-cloud-functions


云功能运行多少个进程?

问题描述我想使用Google云功能来更新位于heroku上的其他数据库,因为firebaserealtimedatabase不会删除它.Iwouldliketousegooglecloudfunctionstoupdateanadditionaldatabaselivingonh

发布:2022-10-16 标签:herokufirebasegoogle-cloud-functions


如何在嵌套的Promise Cloud函数中对Firebase进行范围划分

问题描述我正在尝试从Firebase设置一些变量,然后将它们传递给另一个函数.当前,Promise.all正确设置了foo和bar,但是在.then期间抛出了错误,因此在Firebase中未设置响应.IamtryingtosetafewvariablesfromFirebasea

发布:2022-10-16 标签:javascriptnode.jsfirebasegoogle-cloud-functions


Firebase的可调用函数给我带来了CORS问题

问题描述我一直在尝试可调用函数,以避免手动处理cors,但到目前为止没有任何作用I'vebeentryingcallablefunctionstoavoidhandlingcorsmanuallybutsofarnothingisworking我读过类似的问题Firebase可调

发布:2022-10-16 标签:firebasegoogle-cloud-functionsfirebase-hosting


Firebase:如果我为计划付费,是否只能使用第三方功能?

问题描述最近几天,我一直在尝试使功能正常工作,并且不断出错.在他们的CLI指南中,他们说,如果您是自由用户,则无法对第三方进行API调用,而且我不知道是否也仅为index.js中的函数包含4条自定义代码行文件I'vebeentryingtogetfunctionstoworkfo

发布:2022-10-16 标签:firebasegoogle-cloud-functions


如何解决“函数返回的未定义,期望的承诺或价值"?为Firebase创建功能时?

问题描述我创建了一个Firebase函数来触发推送通知,但是我在Firebase上获得了以下寄存器,函数返回了未定义的,预期的承诺或值"和"snapshot.docs"在admin.firestore.collection.get.then不可迭代(/srv/index.js:2

发布:2022-10-16 标签:javascriptfirebasegoogle-cloud-functions


Cloud Function会立即删除节点,而不是根据时间戳记删除两个小时后删除节点(删除旧子节点不起作用)

问题描述我正在尝试实现删除旧的子节点"云功能示例(https://github.com/firebase/functions-samples/tree/master/delete-old-child-nodes).写入目录后,它应删除所有2小时以上的节点.但是,无论什么情况,它都

发布:2022-10-16 标签:javascriptnode.jsfirebasefirebase-realtime-databasegoogle-cloud-functions


如何在功能中包括存储服务帐户密钥

问题描述我正在尝试将服务帐户密钥包含到我的存储功能中,以便能够通过遵循此处的过时示例来获取长期签名的URLI'mtryingtoincludeserviceaccountkeyintomystoragefunctiontobeabletogetlonglivedsignedurl

发布:2022-10-16 标签:firebasegoogle-cloud-storagegoogle-cloud-functions


无法访问调用Firebase http端点

问题描述我正在编写firebase函数,并尝试使其用作HTTP端点.但是,当我尝试访问时,出现错误您的客户端没有从该服务器获取URL/getDetails的权限."IamwritingafirebasefunctionandtryingtomakeitavailableasanH

发布:2022-10-16 标签:node.jsexpressfirebasegoogle-cloud-functions


如何在回叫中实施Firebase设置请求

问题描述我是Nodejs的新手,我想在回调函数内将信息写入Firebase数据库.I'mnewtonodejsandIwouldliketowriteinformationwithinacallbackfunctiontomyfirebasedatabase.我一直在搜索,似乎回

发布:2022-10-16 标签:node.jsasynchronousfirebasegoogle-cloud-firestoregoogle-cloud-functions