Vercel build fails with write EPIPE in Miniflare (void:prerender plugin)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- typescript
- Lĩnh vực
- build-system, cloud
Hướng nghiên cứu
Start with pnpm run build, which runs velite, vp build, and the tsx assets script, then trace the void:prerender plugin at its closeBundle hook where Miniflare raises EPIPE. Compare the worker and client build stages with the Vercel production environment. Done means the Vercel production build completes without the uncaught EPIPE while preserving prerender behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I'm migrating my blog to use void SSG. The site successfully deploys on Void, Netlify and Cloudflare, but the build fails on Vercel.
Failure symptoms:
- Vercel build fails during the production build step with an uncaught write EPIPE originating from miniflare when the
void:prerenderplugin runs (hook: closeBundle). - Error excerpt from the Vercel build log:
error during build:
Error: write EPIPE
at afterWriteDispatched (node:internal/stream_base_commons:159:15)
at writeGeneric (node:internal/stream_base_commons:150:3)
at Socket._writeGeneric (node:net:966:11)
at Socket._write (node:net:978:8)
at writeOrBuffer (node:internal/streams/writable:572:12)
at _write (node:internal/streams/writable:501:10)
at Writable.write (node:internal/streams/writable:510:10)
at Runtime.updateConfig (/vercel/path0/node_modules/.pnpm/miniflare@4.20260611.0/node_modules/miniflare/dist/src/index.js:71685:26)
at async #assembleAndUpdateConfig (/vercel/path0/node_modules/.pnpm/miniflare@4.20260611.0/node_modules/miniflare/dist/src/index.js:91445:30)
at async Mutex.runWith (/vercel/path0/node_modules/.pnpm/miniflare@4.20260611.0/node_modules/miniflare/dist/src/index.js:59980:48) {
errno: -32,
code: 'PLUGIN_ERROR',
syscall: 'write',
pluginCode: 'EPIPE',
plugin: 'void:prerender',
hook: 'closeBundle'
}
Additional context from the log:
- Build runs "pnpm run build" which executes velite, vp build and a tsx assets build script.
- Vite builds both the worker (ssr) and the client bundles successfully before the error occurs during a plugin closeBundle step.
- There is also a warning about ignored build scripts and Corepack downloading pnpm, but the primary failure appears to be the write EPIPE in Miniflare.
What I tried / questions:
- I haven't modified Miniflare configuration intentionally; it's used by the Void prerender plugin.
- Are there known Vercel environment limits or stdout/stderr buffering issues that could cause Miniflare to fail with EPIPE during closeBundle?
- Any suggestions for debugging or configuration changes to avoid this error on Vercel (e.g., disabling prerender during build, adjusting miniflare usage, or environment variables)?
Please let me know what additional logs or environment info you'd like and how I can help reproduce. Thank you!
- Ngôn ngữ chính
- TypeScript
- Star
- 149
- Fork
- 2
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của void-sdk/void
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Incorrect bindings Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
Tất cả issue của void-sdk/void
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
mksglu/context-mode#1200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/claude-code#96687 ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
AOSSIE-Org/DebateAI#582 · 2 bình luận ·