Skip to content

Does not run with bun (dev only) #1098

@medz

Description

@medz

Environment


  • Operating System: Darwin
  • Node Version: v22.19.0
  • Nuxt Version: 4.1.3
  • CLI Version: 3.29.3
  • Nitro Version: 2.12.7
  • Package Manager: bun@1.3.0
  • Builder: -
  • User Config: compatibilityDate, devtools, nitro
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://github.com/medz/github-fmzbfj/tree/main/bun-1.3-nuxt-post-500

Describe the bug

When using bun --bun run nuxt dev or nitro: { preset: "bun" }, all requests except GET return 400 errors.

Additional context

This problem only occurs during dev. There will be no problem running it using bun after build.

Logs

There are no errors in your output

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions