yamankatby / firebase-extensions

A collection of Firebase Extensions designed to help you build better apps faster.
Apache License 2.0
33 stars 1 forks source link

Error installing OG Image Generator extension in Firebase #74

Open chrisjacobs91 opened 1 year ago

chrisjacobs91 commented 1 year ago

When installing the extension using the default configuration in region europe-west3 (or europe-west2, or us-central1), I get the following error:

; RESOURCE_ERROR at /deployments/firebase-ext-generate-og-image-1/resources/onInstall: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: npm ERR! Cannot read property 'chrome-aws-lambda' of undefined\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2023-05-11T06_25_39_232Z-debug.log; Error ID: beaf8772"}; RESOURCE_ERROR at /deployments/firebase-ext-generate-og-image-1/resources/api: {"ResourceType":"gcp-types/cloudfunctions-v1:projects.locations.functions","ResourceErrorCode":"400","ResourceErrorMessage":"Build failed: npm ERR! Cannot read property 'chrome-aws-lambda' of undefined\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR! /www-data-home/.npm/_logs/2023-05-11T06_25_39_916Z-debug.log; Error ID: beaf8772"}

Tapping "retry installation" completes without another error, however the functions have "Error in Deployment" against them, so the install isn't actually successful.

yamankatby commented 1 year ago

Hey @chrisjacobs91,

Thank you for filling this issue, I'll take a look and keep you informed