Open nathanchase opened 10 months ago
Here's a reproduction of what I'm trying to accomplish: https://stackblitz.com/edit/github-r8fu9x?file=components%2FOgImage.vue
It's pulling two images, processing them using Nuxt Image, and then creating the component template for defineOgImage
.
Found the culprit - it seems like nuxt-og-image
(and Santori, at least) is not currently compatible with Bun. As soon as I switched to just regular Node 20, it works. Feel free to close this if you like, but know that Bun compatibility is the bigger issue.
Thanks, I'll test out the v3 release with Bun when I get to that. It's likely it's related to some WASM behavior but if it's on my end I can fix it.
Describe the bug
Works great running
nuxi dev
locally.On production, the URL is populated correctly:
<meta property="og:image" content="https://www.mydomain.com/sharepage/__og_image__/og.png">
but if I go to that URL directly, I get a 500 error:
My nuxt.config:
Reproduction
https://stackblitz.com/edit/github-r8fu9x?file=components%2FOgImage.vue
System / Nuxt Info