小编Ren*_*ens的帖子

Firebase 功能无法部署

我正在尝试创建 Firebase 函数,但遇到部署错误,即使在部署默认helloworld函数时也是如此。

firebase-debug.log 文件提到了这一点: Could not find image for function projects/picci-e030e/locations/us-central1/functions/helloWorld.

我一直在尝试调试,但到目前为止还无法解决它......

firebase-debug.log

[info] Functions deploy had errors with the following functions:
    helloWorld(us-central1)
[debug] [2021-11-18T21:54:08.946Z] Missing URI for HTTPS function in printTriggerUrls. This shouldn't happen
[info] i  functions: cleaning up build files... 
[debug] [2021-11-18T21:54:08.948Z] >>> [apiv2][query] GET https://us.gcr.io/v2/picci-e030e/gcf/us-central1/tags/list [none]
[debug] [2021-11-18T21:54:09.407Z] <<< [apiv2][status] GET https://us.gcr.io/v2/picci-e030e/gcf/us-central1/tags/list 200
[debug] [2021-11-18T21:54:09.407Z] <<< [apiv2][body] GET https://us.gcr.io/v2/picci-e030e/gcf/us-central1/tags/list {"child":[],"manifest":{},"name":"picci-e030e/gcf/us-central1","tags":[]}
[debug] [2021-11-18T21:54:09.407Z] Could not find image for function projects/picci-e030e/locations/us-central1/functions/helloWorld
[debug] [2021-11-18T21:54:09.481Z] Error: Failed to …
Run Code Online (Sandbox Code Playgroud)

node.js firebase google-cloud-functions

9
推荐指数
1
解决办法
8318
查看次数

标签 统计

firebase ×1

google-cloud-functions ×1

node.js ×1