例如,在我的index.ts中,我有以下代码 exports.makeUppercase = functions.firestore.document('/messages/{documentId}')
exports.clearOtherDocs = functions.firestore.document('/messagesmore than 15 functions like that
在尝试使用云函数仿真器时,我收到一条消息,指出: function ignored because the firestore emulator does not exist or is not running我试着在这里提到:(Firestore/Firebase Emulator Not Running)。我的函数/package.json如下所示: { &
我正在尝试使用firebase设置云函数,但我在设置它时遇到了一些困难。我想设置一个由HTTP请求调用的函数。该函数将获取所提供的信息,仔细检查这些值是否确实与我在firestorm中找到的值相同,然后在响应之前执行一些Javascript代码;这是我的代码:
// The Cloud Functions forFirebase SDK to create Cloud Functions and
我通常使用单独的repo来组织我的Firebase项目,用于web应用程序、管理器门户和云功能。因为web应用程序和管理门户使用相同的firebase项目,所以我将云函数保存在各自的repo中。我正在测试如何通过此设置使用Firebase Local Emulator Suite,但似乎无法在我的cloud Function项目中启动云函数的仿真器,然后在我<em