devtools icon indicating copy to clipboard operation
devtools copied to clipboard

Vite 8 unmet peer

Open NoahStahl opened this issue 8 months ago • 3 comments

Not sure if this belongs here, but I see this when installing Vite 8.0.1. Would be good to resolve this pnpm warning?

WARN  Issues with peer dependencies found
.
└─┬ vite-plugin-vue-devtools 8.1.0
  └─┬ vite-plugin-inspect 11.3.3
    ├── ✕ unmet peer vite@"^6.0.0 || ^7.0.0-0": found 8.0.1
    └─┬ vite-dev-rpc 1.1.0
      ├── ✕ unmet peer vite@"^2.9.0 || ^3.0.0-0 || ^4.0.0-0 || ^5.0.0-0 || ^6.0.1 || ^7.0.0-0": found 8.0.1
      └─┬ vite-hot-client 2.1.0
        └── ✕ unmet peer vite@"^2.6.0 || ^3.0.0 || ^4.0.0 || ^5.0.0-0 || ^6.0.0-0 || ^7.0.0-0": found 8.0.1

NoahStahl avatar Mar 19 '26 12:03 NoahStahl

These are the relevant issues for those 3 dependencies:

  • https://github.com/antfu-collective/vite-plugin-inspect/issues/167
  • https://github.com/antfu/vite-dev-rpc/issues/3
  • https://github.com/antfu/vite-hot-client/issues/5

Currently I don't think there's anything that needs to be done in vite-plugin-vue-devtools itself, but that might change if vite-plugin-inspect needs a new major version.

skirtles-code avatar Mar 20 '26 18:03 skirtles-code

vite-plugin-inspect needs a new major version.

Looks like a new major version is in the works

https://github.com/antfu-collective/vite-plugin-inspect/commit/7c2b0ab52ffe4bd4a4a92a129ed2f3bc40a25eb1 https://github.com/antfu-collective/vite-plugin-inspect/issues/167#issuecomment-4115482760

jonesjnk avatar Mar 28 '26 09:03 jonesjnk

Hi,

It seems vite-plugin-inspect v12.0.2 has been released 2 months ago and is compatible with Vite 8. It would be great to upgrade dependency in devtools' catalog and have a new release so as it is possible for the community to upgrade Vue, Vue-router, Pinia.

Thanks in advance for your help!

v1nc3n4 avatar Sep 10 '26 15:09 v1nc3n4