firebase deploy --only hosting gives Error: HTTP Error: 410, Unknown Error

后端 未结 8 626
南旧
南旧 2021-01-03 20:04

this is my log :

 [info] === Deploying to \'test-123\'...
    [info] 
    [info] i  deploying hosting
    [info] i  hosting: preparing public directory for         


        
相关标签:
8条回答
  • Update global npm "firebase-tools"

    0 讨论(0)
  • 2021-01-03 21:04

    I found this response from the firebase-community Slack group https://firebase-community.slack.com:

    If you are receiving a 410 error, you will likely need to update your cli version (firebase-tools). Updating to the latest version should fix it. You will need to upgrade your CLI version to at least 4.1.0 (>= 5.1.1 is recommended).

    I was using firebase-tools: version 3.18.4 previously, and after upgrading to the latest version (5.1.1), I was able to deploy successfully:

    npm install -g firebase-tools@5.1.1
    
    0 讨论(0)
提交回复
热议问题