Fresh repro on Windows.
Steps to reproduce:
- Run
npm create nuxt@latest .
- During the interactive setup, choose to add the
@nuxt/ui module
- Let the CLI continue with npm
Expected behavior:
The default first-party Nuxt + Nuxt UI setup path should complete successfully.
Actual behavior:
The install fails with npm ERESOLVE.
Relevant error:
nuxt@4.4.2 resolves vue-router@5.0.3
@nuxt/ui@4.5.1 declares peerOptional vue-router@"^4.5.0"
- npm aborts dependency resolution
Excerpt:
Could not resolve dependency:
peerOptional vue-router@"^4.5.0" from @nuxt/ui@4.5.1
Environment:
- OS: Windows
- Package manager: npm
- Nuxt created with latest
create-nuxt
- This occurred during the official interactive create flow when selecting Nuxt UI
Notes:
This is a frustrating failure because adding Nuxt UI from the official Nuxt create flow appears to be a default first-party setup path.