We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Astro v4.16.9 Node v22.10.0 System macOS (arm64) Package Manager npm Output hybrid Adapter @astrojs/cloudflare Integrations none
Hi,
I am trying to generate OG images using @cloudflare/pages-plugin-vercel-og and the Astro endpoint.
@cloudflare/pages-plugin-vercel-og
While running in local dev, I am getting this error:
Unknown file extension ".wasm" for /Users/vikaskapadiya/Project/personal/test-og-image/node_modules/@cloudflare/pages-plugin-vercel-og/dist/src/api/yoga.wasm
However, Running wrangler pages dev ./dist or deploying the project to Cloudflare pages works without any issue.
wrangler pages dev ./dist
Live demo: https://astro-cloudflare-og-image.pages.dev/og/
It should work locally. According to the adapter docs, the Cloudflare adapter supports these files. (https://docs.astro.build/en/guides/integrations-guide/cloudflare/#cloudflare-module-imports)
https://github.com/vikas5914/astro-cloudflare-og-image
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Astro Info
Describe the Bug
Hi,
I am trying to generate OG images using
@cloudflare/pages-plugin-vercel-og
and the Astro endpoint.While running in local dev, I am getting this error:
However, Running
wrangler pages dev ./dist
or deploying the project to Cloudflare pages works without any issue.Live demo: https://astro-cloudflare-og-image.pages.dev/og/
What's the expected result?
It should work locally. According to the adapter docs, the Cloudflare adapter supports these files. (https://docs.astro.build/en/guides/integrations-guide/cloudflare/#cloudflare-module-imports)
Link to Minimal Reproducible Example
https://github.com/vikas5914/astro-cloudflare-og-image
Participation
The text was updated successfully, but these errors were encountered: