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

后端 未结 8 639
南旧
南旧 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条回答
  • 2021-01-03 20:44

    Updating firebase tools with npm update -g firebase-tools fixed this for me. I also had to close my terminal session and open a new one to use the new cli version.

    0 讨论(0)
  • 2021-01-03 20:45

    My problem was using nvm the version of firebase-tools was mixed, however this npx firebase deploy worked for me.

    Credit goes to heydanhey here github issue

    0 讨论(0)
  • After updating firebase I also needed to run this command.

    alias firebase="`npm config get prefix`/bin/firebase"
    
    0 讨论(0)
  • 2021-01-03 20:51

    This worked for me:

    1. Upgrade firebase npm update -g firebase-tools
    2. Log out firebase logout
    3. Log back in firebase login
    4. Deploy firebase deploy
    0 讨论(0)
  • 2021-01-03 20:55

    Upgrading the dependencies for the project may help

    npm install --save firebase-functions@latest
    
    0 讨论(0)
  • 2021-01-03 21:00

    For me only installing specific version worked e.g npm install -g firebase-tools@5.1.1

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