Issue
I am trying the following firebase deploy
command and I get the following error:
Error: Authorization failed. This account is missing the following required permissions on project ID project:
cloudfunctions.functions.create
cloudfunctions.functions.delete
cloudfunctions.functions.get
cloudfunctions.functions.list
cloudfunctions.functions.update
cloudfunctions.operations.get
firebase.projects.get
firebasehosting.sites.update
I have all the accesses. I am working with angular 6.
I should mention that this project was working normal in a previous project in Firebase. I have created a new one and I want to migrate the contents of the previous one to this new one and there the problem started.
I should also mention that before I was logged in with another user.
Any ideas?
Solution
If you created your project in the fireabse website account, during firebase deployment we need to select that firebase project for hosting. Also if you created more than one project in the firebase account, we need to select one project for the deployment process. For that you need to run the below command.
firebase use --add
It will list multiple project and you can choose one from that option. Then run firebase deploy.
Answered By - Roshil K
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.