--bun uses different dependencies
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: [email protected]
- 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: [email protected]
- 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.
@Samu-14 @ggondim is this still an issue?
With nuxt 3.16.2 the nuxt version is the same for both commands, as below. The node version is different, but I think it's because bun uses its own internal node, I don't know how to check that.
-
Operating System: Linux
-
Node Version: v22.6.0
-
Nuxt Version: 3.16.2
-
CLI Version: 3.24.1
-
Nitro Version: 2.11.8
-
Package Manager: [email protected]
-
Operating System: Linux
-
Node Version: v20.19.2
-
Nuxt Version: 3.16.2
-
CLI Version: 3.24.1
-
Nitro Version: 2.11.8
-
Package Manager: [email protected]