前端:Firebase部署报错问题?

有人遇到过么 firebase deploy --only functions 后报错。。。
image.png

[2022-11-11T07:47:48.712Z] <<< apiv2 POST https://cloudfunctions.google...<projects>/locations/us-central1/functions 403
[2022-11-11T07:47:48.713Z] <<< apiv2 POST https://cloudfunctions.google...<projects>/locations/us-central1/functions {"error":{"code":403,"message":"Unable to retrieve the repository metadata for projects/tmpmorepn/locations/us-central1/repositories/gcf-artifacts. Ensure that the Cloud Functions service account has 'artifactregistry.repositories.list' and 'artifactregistry.repositories.get' permissions. You can add the permissions by granting the role 'roles/artifactregistry.reader'.","status":"PERMISSION_DENIED"}}
! functions: failed to create function projects/<projects>/locations/us-central1/functions/addMessage

image.png
我给自己开了一些权限,还是不行,不知道怎么办?

阅读 1.1k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题