Reproduction
This is not a runtime issue, and I believe technically not a bug, but no templates in the repo really fit.
The issue is that @react-router/dev depends on vite-node: ^3.2.2 which depends on vite: 7.3.2, so vite 7 is still pulled.
I don't believe this results in something breaking, just vite 7 (and it's dependencies like esbuild) being downloaded.
System Info
System:
OS: Linux 6.18 EndeavourOS
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
Memory: 3.12 GB / 15.29 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 25.9.0 - /usr/bin/node
npm: 11.12.1 - /usr/bin/npm
pnpm: 10.33.0 - /usr/bin/pnpm
Browsers:
Firefox: 149.0
Firefox Developer Edition: 149.0
npmPackages:
@react-router/dev: 7.14.0 => 7.14.0
@react-router/node: 7.14.0 => 7.14.0
@react-router/serve: 7.14.0 => 7.14.0
react-router: 7.14.0 => 7.14.0
vite: 8.0.5 => 8.0.5
Used Package Manager
pnpm
Expected Behavior
given versions:
@react-router/dev: 7.14.0 => 7.14.0
@react-router/node: 7.14.0 => 7.14.0
@react-router/serve: 7.14.0 => 7.14.0
react-router: 7.14.0 => 7.14.0
vite: 8.0.5 => 8.0.5
pnpm-lock.yaml shouldn't contain vite@7
Actual Behavior
pnpm-lock.yaml contains vite@7
Reproduction
This is not a runtime issue, and I believe technically not a bug, but no templates in the repo really fit.
The issue is that
@react-router/devdepends onvite-node: ^3.2.2which depends onvite: 7.3.2, so vite 7 is still pulled.I don't believe this results in something breaking, just vite 7 (and it's dependencies like esbuild) being downloaded.
System Info
System: OS: Linux 6.18 EndeavourOS CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H Memory: 3.12 GB / 15.29 GB Container: Yes Shell: 5.9 - /usr/bin/zsh Binaries: Node: 25.9.0 - /usr/bin/node npm: 11.12.1 - /usr/bin/npm pnpm: 10.33.0 - /usr/bin/pnpm Browsers: Firefox: 149.0 Firefox Developer Edition: 149.0 npmPackages: @react-router/dev: 7.14.0 => 7.14.0 @react-router/node: 7.14.0 => 7.14.0 @react-router/serve: 7.14.0 => 7.14.0 react-router: 7.14.0 => 7.14.0 vite: 8.0.5 => 8.0.5Used Package Manager
pnpm
Expected Behavior
given versions:
pnpm-lock.yamlshouldn't containvite@7Actual Behavior
pnpm-lock.yamlcontainsvite@7