nuxt/cli

--bun uses different dependencies

Opened this issue · 1 comments

Environment

bunx nuxi info:

  • Operating System: Darwin
  • Node Version: v21.7.3
  • Nuxt Version: 3.11.2
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.6
  • Package Manager: bun@1.1.13
  • Builder: -
  • User Config: devtools
  • Runtime Modules: -
  • Build Modules: -

bunx --bun nuxi info:

  • Operating System: Darwin
  • Node Version: v22.2.0
  • Nuxt Version: 3.12.2
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.6
  • Package Manager: bun@1.1.13
  • Builder: -
  • User Config: devtools
  • Runtime Modules: -
  • Build Modules: -

Reproduction

Start a new project with bunx nuxi then downgrade nuxt to 3.11.2, run bun i and finally bun --bun dev. The running version is 3.12.2 (the latest and not the one installed)

Describe the bug

--bun uses different dependencies than the ones installed

Additional context

No response

Logs

No response

Same here, using nuxt-nightly the bunx --bun nuxi info reports 3.12.3 as the Nuxt version.

image

image