“An unexpected error has occurred” after firebase deploy

前端 未结 14 1145
无人及你
无人及你 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条回答
  • 2020-12-20 15:42

    For me updating firebase-tools solved the issue

    run below command in your cmd prompt

    npm install -g firebase-tools
    

    then try firebase init again

    0 讨论(0)
  • 2020-12-20 15:44

    I get that error when I haven't run npm install. Try it out. I hope that simple solution helps anyone with the same problem.

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