【发布时间】:2025-12-01 22:40:01
【问题描述】:
我正在尝试从 Firebase Web Codelab 关注 this tutorial,但在第 5 步遇到问题:运行命令 firebase serve 后,我没有得到预期的响应
Listening at http://localhost:5000,但我得到了:
i functions: Preparing to emulate functions.
i hosting: Serving hosting files from: ./
+ hosting: Local server: http://localhost:5000
这很糟糕,因为没有提供函数,尽管没有提示 ⚠ functions: Failed to emulate api,但它仍然无限期地“准备模拟函数”。
更多信息:CLI Version: 3.18.4
Platform: win32
Node Version: v6.12.3 我已经尝试去 ~/.config/configstore/ 并删除 @Google-Cloud 文件夹以重新启动整个过程。
【问题讨论】:
标签: firebase localhost google-cloud-functions firebase-cli