這是在轉移之前寫的next.js功能到其他firebase專案時發生的權限問題 摘要錯誤訊息如下: i functions: creating Node.js 18 (2nd Gen) function firebase-frameworks-***:ssr***(asia-east1)... Unable to retrieve the repository metadata for projects/ *** /locations/asia-east1/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'. Functions deploy had errors with the following functions: firebase-frameworks- *** :ssr***(asia-east1)