BUG: SSG build crashes with WritableStream error — 4 articles not built #53
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?
Description
The Qwik SSG build crashes mid-way with a Bun compatibility error:
Only 8 of 12 articles get built. 4 article pages missing from dist/ and return 404:
Build log
Suggested Fixes
Fixed in commit
dcb683bChanged
staticAdapter()inadapters/static/vite.config.tsto setmaxWorkers: 1, limiting parallel HTML generation to a single worker. This avoids the Bun incompatibility whereWritableStream.pipeTocrashes withERR_INVALID_ARG_TYPEwhen multiple workers try to write concurrently.Closes #53