Firebase Deploy - “Unable to Authorize” error

心不动则不痛 提交于 2019-12-02 07:39:29

First warning shows you have to update firebase-cli.

Run this command to update:

npm install -g firebase-tools

Your project may not have been linked which causes that error.

Run this command to link the project:

firebase use --add

It will list down the projects in your firebase account, select the correct one and try deploying the project using:

firebase deploy

PS: You don't have to append project_id to deploy command every time once you run use --add command

Found my answer in another post

It seems that when deploying, you're supposed to deploy with:

firebase deploy --project [PROJECT ID, not PROJECT NAME]
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!