Firebase功能 - 等待API激活

问题描述 投票:0回答:2

所以我正在尝试使用Firebase云功能设置环境密钥,但它似乎不起作用。我得到的就是:

$ firebase functions:config:set service.secret="secret"

i  runtimeconfig: waiting for APIs to activate...
i  runtimeconfig: waiting for APIs to activate...
i  runtimeconfig: waiting for APIs to activate...
i  runtimeconfig: waiting for APIs to activate...
i  runtimeconfig: waiting for APIs to activate...
Error: Timed out waiting for APIs to enable. Please try again in a few minutes.

我正在使用

"firebase-admin": "5.2.1",
"firebase-functions": "0.6.3"

并获得了firebase-tools设置。有谁知道为什么我得到这个?一切都像两周前一样有效

firebase google-cloud-functions
2个回答
0
投票

我想你只需等待一段时间再激活它。


0
投票

我使用的是Vagrant,由于某些原因,Vagrant无法安装某些依赖项(例如grpc)。相反,我刚退出Vagrant,在我的Mac OS上安装了最新的Firebase SDK,然后就可以了。

© www.soinside.com 2019 - 2024. All rights reserved.