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?
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With