-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Open
Description
Current behavior
Executing yarn
causes the warning:
warning " > [email protected]" has incorrect peer dependency "vite@>=2.9.1 <= 5".
Expected behavior
No mismatched dependency warning for vite-plugin-istanbul
and vite
.
Steps to reproduce
Ubuntu 24.04.3
LTS, Node.js 22.18.0
LTS, Yarn 1.22.22
git clone https://github.com/cypress-io/cypress-realworld-app
cd cypress-realworld-app
yarn
Assessment
vite
was updated to fromvite@4
tovite@^7.1.3
through PR chore(deps): update dependency vite to version 7.x 🌟 #1657 on Aug 21, 2025- [email protected] is the minimum version required to support Vite 7
yarn dev
fails to run forvite-plugin-istanbul
>=6
with error message:[start:react] ✘ [ERROR] Failed to resolve "vite-plugin-istanbul". This package is ESM only but it was tried to load by
require
. See https://vite.dev/guide/troubleshooting.html#this-package-is-esm-only for more details. [plugin externalize-deps]
This means that resolving this issue is more complex than a simple version update of vite-plugin-istanbul
Metadata
Metadata
Assignees
Labels
No labels