Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/trust-center/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"devDependencies": {
"@types/react": "^18.3.3",
"@vitejs/plugin-react": "^4.3.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 @vitejs/plugin-react needs a matching upgrade for Vite 8

@vitejs/plugin-react@^4.3.0 was built for Vite 4/5 and its peer dependencies do not cover Vite 8. The official Vite 8 announcement explicitly states that v5 (and the newly released v6) work with Vite 8 — v4 is not mentioned as compatible. Running npm install with this combination will likely produce a peer dependency conflict (ERESOLVE), and the build may fail even if the install succeeds, because the plugin relies on internal Vite APIs that changed significantly across three major versions (Rolldown/Oxc replaced Rollup/esbuild in Vite 8). The plugin should be bumped to at least ^5.0.0 (preferably ^6.0.0) alongside this Vite upgrade.

Fix in Claude Code Fix in Codex Fix in Cursor

"vite": "^5.3.1"
"vite": "^8.0.14"
}
}
Loading