Firebase hosting deploy error “HTTP Error: 404, Not Found”

后端 未结 8 1596
无人及你
无人及你 2021-02-15 17:51

I don\'t know if this is related to the recent bump of firebase-tools to 6.0 or not. But I\'m unable to deploy my files to a hosting project.

The output after I type fi

相关标签:
8条回答
  • 2021-02-15 18:37

    Was facing the same issue, my problem was that I had deleted the project in the console but the source-code was still referencing it hence error 404 - resource not found.

    My solution was to:

    • delete .firebaserc file (contains your project alias) located in the root of the project
    • run firebase init and link to your project
    • run firebase deploy again
    0 讨论(0)
  • 2021-02-15 18:38

    On the bottom of "Firebase Console > Hosting Page" click on "Add another site" and create them with the same name you used for target.

    0 讨论(0)
提交回复
热议问题