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. I think that's a bun bug. If I start with --bun I can't see any response with CURL.
Since the request doesn't even reach Nitro (no handler logs, no response body, just a 400 with Content-Length: 0 from Bun's HTTP server), I believe this is definitely a Bun bug rather than a Nuxt/Nitro issue.
Evidence:
bun --bun run dev → POST returns 400 ❌
bun run dev (uses Node.js) → POST works perfectly ✅
The handler is never executed (no console logs)
Bun's server returns the 400 before the request reaches Nitro
Workaround:
Use bun run dev without the --bun flag until this is fixed in Bun.
Am I missing something, or should this be reported to the Bun repository instead?
Hi. I think that's a bun bug. If I start with --bun I can't see any response with CURL. Since the request doesn't even reach Nitro (no handler logs, no response body, just a 400 with Content-Length: 0 from Bun's HTTP server), I believe this is definitely a Bun bug rather than a Nuxt/Nitro issue.
Evidence:
bun --bun run dev → POST returns 400 ❌
bun run dev (uses Node.js) → POST works perfectly ✅
The handler is never executed (no console logs)
Bun's server returns the 400 before the request reaches Nitro
Workaround: Use bun run dev without the --bun flag until this is fixed in Bun.
Am I missing something, or should this be reported to the Bun repository instead?
Temporary solution is not feasible because I use Bun Runtime APIs extensively in the Server part.
Activity
github-actions commentedon Oct 19, 2025
Stackblitz link for the reproduction: Stackblitz
medz commentedon Oct 19, 2025
Flo0806 commentedon Oct 20, 2025
Hi. I think that's a
bunbug. If I start with--bunI can't see any response withCURL.Since the request doesn't even reach Nitro (no handler logs, no response body, just a 400 with
Content-Length: 0from Bun's HTTP server), I believe this is definitely a Bun bug rather than a Nuxt/Nitro issue.Evidence:
bun --bun run dev→ POST returns 400 ❌bun run dev(uses Node.js) → POST works perfectly ✅Workaround:
Use
bun run devwithout the--bunflag until this is fixed in Bun.Am I missing something, or should this be reported to the Bun repository instead?
medz commentedon Oct 20, 2025
Temporary solution is not feasible because I use Bun Runtime APIs extensively in the Server part.
huang-julien commentedon Oct 20, 2025
I think this is related to the CLI moving to socket a few versions ago