“An unexpected error has occurred” after firebase deploy

前端 未结 14 1438
无人及你
无人及你 2020-12-20 14:53

When I am hosting my web page through firebase hosting then after writing command firebase deploy I got the following error:

Microsoft Windows [Versi         


        
14条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-20 15:34

    First of all, looking into firebase-debug.log in the root of your project (next to firebase.json) might help to define the error. In my case there was "Cannot read property 'deploys' of undefined" error. There's an associated issue on github. Removing extra sites (I didn't actually need them) and leaving only the default one in the Firebase hosting dashboard solved my problem.

提交回复
热议问题