Bit of a long shot asking here but: I am experiencing an issue with the @vercel/og package for on-demand OG image creation. After upgrading from Next.js 12 to Next.js 14, I encountered the following error at build time on vercel:
Error: The Edge Function "api/og" is referencing unsupported modules: - index.js: ./resvg.wasm?module, ./yoga.wasm?module, url
Error: The Edge Function "api/og" is referencing unsupported modules: - index.js: ./resvg.wasm?module, ./yoga.wasm?module, url
This problem has been mentioned in the support discussion forums and on GitHub, but I have not found a solution. Is there a fix available for this issue?
Summary After approximately 15-20 hours of constant image generation, I run into a problem where the API route suddenly becomes unreachable. The error stacks can be seen below. The error messages a...
What version of Remix are you using? 1.8.0 Steps to Reproduce Install @vercel/og add the following line to your remix.config.js: serverDependenciesToBundle: ['yoga-wasm-web', '@vercel/o...