mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[GH-ISSUE #642] vinext start fails with ERR_MODULE_NOT_FOUND for Yoga WASM (next/og) #134
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NathanDrake2406 on GitHub (Mar 22, 2026).
Original GitHub issue: https://github.com/cloudflare/vinext/issues/642
Summary
vinext build+vinext startcrashes at startup when the app usesImageResponsefromnext/og.Error
Context
The Yoga WASM file (used by Satori for OG image generation) is emitted into
dist/server/assets/during build, but contains a minified import reference ('a') that wasn't resolved during bundling. Node can't resolve it at runtime.The app imports
ImageResponsefromnext/ogin severalopengraph-image.tsxfiles.Steps
opengraph-image.tsxthat usesImageResponsefromnext/ogvinext buildvinext start