You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone, I'm encountering issues when trying to integrate custom fonts using @vercel/og for dynamic image generation in Next.js. The implementation works with local fonts in development but fails after building, showing TypeError: fetch failed errors.
⨯ TypeError: fetch failed
at tT (D:\starify-next\.next\server\pages\api\starify.js:13:56049)
at async e6 (D:\starify-next\.next\server\pages\api\starify.js:13:29188) {
[cause]: [Error: not implemented... yet...]
}
⨯ TypeError: fetch failed
at tT (D:\starify-next\.next\server\pages\api\starify.js:13:56049)
at async e6 (D:\starify-next\.next\server\pages\api\starify.js:13:29188) {
[cause]: [Error: not implemented... yet...]
This code is borrowed from vercel/examples, but I can't seem to get it to work
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone, I'm encountering issues when trying to integrate custom fonts using
@vercel/og
for dynamic image generation in Next.js. The implementation works with local fonts in development but fails after building, showingTypeError: fetch failed
errors.This code is borrowed from vercel/examples, but I can't seem to get it to work
Here is my dependencies information, and my node version is
v22.13.1
Any insights would be greatly appreciated! 🙏
Beta Was this translation helpful? Give feedback.
All reactions