@verce/og referencing unsupported modules

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
"next": "^14.1.0", "@vercel/og": "^0.6.2", mre: https://github.com/JakeSchroeder/og-test 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? Related: https://github.com/orgs/vercel/discussions/3029 https://github.com/orgs/vercel/discussions/1976 https://github.com/remix-run/remix/issues/4735
GitHub
GitHub - JakeSchroeder/og-test
Contribute to JakeSchroeder/og-test development by creating an account on GitHub.
GitHub
Can't deploy because of @vercel/og ImageResponse error · vercel · ...
Page to Investigate https://www.fond.ch Steps to Reproduce Not working: Vercel Node.js Version: 18.x "next": "^13.4.7", "@vercel/og": "^0.5.8" Error Messages...
GitHub
Vercel/OG and WebAssembly Runtime Error · vercel · Discussion #1976
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...
GitHub
Web assembly error with @vercel/og · Issue #4735 · remix-run/remix
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...
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server