无法在Firebase上部署vue.js应用-错误:任务失败

时间:2019-09-12 17:49:13

标签: firebase vue.js deployment web-deployment

使用my vue.js app,我遵循了官方的documentation的确切步骤,将其构建并部署在Firebase托管上。

我的.firebaserc看起来像规定的一样:

{
  "projects": {
    "default": "trackomad"
  }
}

但是,部署在一个文件之后卡住并退出,并显示以下消息:

$ firebase deploy

=== Deploying to 'trackomad'...

i  deploying firestore, hosting
i  firestore: checking firestore.rules for compilation errors...
i  firestore: reading indexes from firestore.indexes.json...
✔  firestore: rules file firestore.rules compiled successfully
i  firestore: uploading rules firestore.rules...
✔  firestore: deployed indexes in firestore.indexes.json successfully
i  hosting[trackomad]: beginning deploy...
i  hosting[trackomad]: found 9 files in dist
⠸  hosting: uploading new files [1/2] (50%)
Error: Task ce6ebf8fe181eb301634f0abb5063dd4b23f6b1b724d2f85872f69053c6832e8 failed: retries exhausted after 6 attempts

我的这个项目在部署之前是一个简单的虚拟项目,因为它是由Firebase文档提供的。最初,我尝试在其上部署全新的vue应用程序,并遇到相同的错误。然后,我按照here的描述删除了旧的部署。唯一改变的是它现在卡在⠸ hosting: uploading new files [1/2] (50%)上,而不是以前的⠸ hosting: uploading new files [1/4] (25%)

我可以以某种方式调试此行为,还是有其他可能性来了解问题所在?

1 个答案:

答案 0 :(得分:2)

这是托管事件,您可以在此处https://status.firebase.google.com/incident/Hosting/19015

查看状态