- 
                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
yarnAssessment
- vitewas updated to from- vite@4to- vite@^7.1.3through 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 devfails to run for- vite-plugin-istanbul- >=6with 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