Can't deploy project to firebase

前端 未结 1 1741
悲哀的现实
悲哀的现实 2021-02-06 05:30

I try to deploy my app to firebase but it\'s fail.

$ firebase deploy --project af2test

⚠ Your CLI authentication needs to be updated to take advantag

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-06 06:15

    MichaelBleigh had the answer

    run

    firebase list
    

    which shows something like:

    ┌─────────┬───────────────────────┬─────────────┐
    │ Name    │ Project ID / Instance │ Permissions │
    ├─────────┼───────────────────────┼─────────────┤
    │ af2test │ af2test-f289d         │ Owner       │
    └─────────┴───────────────────────┴─────────────┘
    

    Use the project id to deploy with

    firebase deploy --project af2test-f289d
    

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