小编Alg*_*mic的帖子

Firebase 托管部署失败

运行firebase deploy将运行几分钟,然后给我一个超时错误Error: ESOCKETTIMEDOUT

我之前已经成功部署了多次,除了项目的前端(用 React 编写)没有改变任何东西。

我的云功能有一个单独的文件夹,可以完美地部署 firebase deploy --only functions

我已经尝试过常规部署firebase deploy--except functions flag但没有运气。

还尝试更新 npm 和 firebase-tools

firebase deploy --debug几分钟后运行会产生以下错误:

[2019-09-12T16:25:59.115Z] FirebaseError: Task 6822eef99ebcce0df4baf9cc03e49b399d046c7cdfeb5b2a2ef2511c1df963d1 failed: retries exhausted after 6 attempts
[2019-09-12T16:25:59.115Z] [hosting][upload queue][FINAL] max=7278, min=7278, avg=7278, active=4, complete=2, success=1, errored=1, retried=25, total=6, elapsed=192701
[2019-09-12T16:25:59.127Z] FirebaseError: Task f98dce8e7830e8cd5881bc5e109453c208ff7fc643d61ad64ca34a7d098abc2c failed: retries exhausted after 6 attempts
[2019-09-12T16:25:59.127Z] FirebaseError: Task 5a7166c6cab1624c8a0c074fc535a23685c338be838012dced4006be3cc6dedd failed: retries exhausted after 6 attempts
[2019-09-12T16:25:59.128Z] FirebaseError: Task 76dd5b5551e5cd383875692455ff415bf8df56c97f67e4a3746e3c53c23478e1 failed: retries exhausted …
Run Code Online (Sandbox Code Playgroud)

npm firebase reactjs firebase-hosting google-cloud-functions

14
推荐指数
2
解决办法
6056
查看次数