Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Configuration - Cloud Function build fails. #635

Open
adprojects202 opened this issue Jul 15, 2024 · 2 comments
Open

Extension Configuration - Cloud Function build fails. #635

adprojects202 opened this issue Jul 15, 2024 · 2 comments

Comments

@adprojects202
Copy link

adprojects202 commented Jul 15, 2024

Bug report

Describe the bug

On a newly created firebase account and project, when you try to install "Run Payments with Stripe" extension the installation fails. The first error that will be revied will be "google service does not have permission to view the bucket" That was easily fixable but after that, when you look at cloud functions. They all cannot build properly. Even the logs, i just have "build failed" no detailed log is available. I did look at the issue #824 #494. But they both didnot help.

To Reproduce

2024 - just try to install the extension and see if it fails. This was a fresh account.

Screenshots

image
image

abnormal part is that on firbase it seems that the extension is configured properly
image

@jacky123200
Copy link

jacky123200 commented Aug 15, 2024

I have similar issues when installing the extension to fresh account, it was working on old account.

image

And then I try to add the permission manually on gcp it still fail
image

image

@karisalo1
Copy link

Hope this helps. I added "Secret Manager Accessor" rights to service account and edited package.json to have engine 18 instead of engine 14. After that I redeployed the functions and it seemed to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants