firebase-tools “Error: certificate has expired”

后端 未结 7 2430
终归单人心
终归单人心 2021-02-18 13:02

This morning I tried to deploy my react project to firebase hosting but I received this error:

Error: Server Error. certificate has expired

The

相关标签:
7条回答
  • 2021-02-18 13:58

    I found the solution. First, do this:

    npm i -g firebase-tools@latest
    

    It looks like I'm using an outdated version of Firebase CLI. This error happened because the older versions of CLI are linked to legacy Firebase services that are no longer operational. Upgrading to the latest CLI version is the only solution.

    Then you need to use new commands instead of deprecated ones. For example:

    firebase projects:list  //instead of firebase list
    
    0 讨论(0)
提交回复
热议问题