Cannot downgrade nuxi - always 3.0.0-rc.4 present
See original GitHub issueEnvironment
Nuxt CLI v3.0.0-rc.4 10:18:39 RootDir: /home/user/workspace/nuxt3-multi-page 10:18:41 Nuxt project info: 10:18:41
- Operating System:
Linux
- Node Version:
v16.15.1
- Nuxt Version:
3.0.0-rc.2
- Package Manager:
yarn@3.2.0
- Builder:
vite
- User Config:
__esModule
- Runtime Modules:
-
- Build Modules:
-
👉 Report an issue: https://github.com/nuxt/framework/issues/new 10:18:41
👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new
👉 Read documentation: https://v3.nuxtjs.org
Reproduction
if you look into the node_modules directory of the nuxt package, there is nuxi always in the latest version, even if you explicitly install nuxt in v 3.0.0-rc.2 for example.
Describe the bug
Any attempt to install nuxi explicitly in a version below 3.0.0-rc.4 will always lead to 3.0.0-rc.4 being present in node_modules/.bin/nuxi
again.
I’ve deleted the directory, changed the versions manually in package.json and used yarn add nuxt@3.0.0-rc.2 -D
for the installation.
Additional context
No response
Logs
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:11 (5 by maintainers)
Top GitHub Comments
Please use force resolutions in order to downgrade to a fixed version:
~> https://github.com/nuxt/framework/discussions/6554
I think @mklueh is making the point that the version of
nuxt
uses the caret operator: https://unpkg.com/browse/nuxt@3.0.0-rc.5/package.json, so that even if the user has set"nuxt": "3.0.0-rc.3"
, their dependencies (@nuxt/vite-builder
, etc.) might be higher.