Skip to content
Closed
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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"globals": "^17.0.0",
"postcss": "^8.5.1",
"tailwindcss": "^4.0.0",
"vite": "^7.0.0"
"vite": "^8.0.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.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

What is the first @vitejs/plugin-react release that declares peerDependencies.vite including ^8, and what is that exact peer dependency range?

💡 Result:

The first @vitejs/plugin-react release whose peerDependencies.vite range includes ^8 is 6.0.0, and the exact peer dependency range is:

  • vite: ^8.0.0 [1]

Blocker: Vite 8 upgrade currently breaks dependency resolution.

Line 45 sets vite to ^8.0.0, but the current @vitejs/plugin-react@5.1.4 only supports up to Vite 7. This causes npm ERESOLVE and prevents package-lock.json updates. Upgrade @vitejs/plugin-react to ^6.0.0 or later, which explicitly supports vite@^8.0.0.

Required update
  "devDependencies": {
-   "@vitejs/plugin-react": "^5.1.4",
+   "@vitejs/plugin-react": "^6.0.0",
    "vite": "^8.0.0"
  }
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 45, package.json currently pins "vite": "^8.0.0" but
the installed plugin "@vitejs/plugin-react@5.1.4" is incompatible; update the
dependency entry for "@vitejs/plugin-react" to "^6.0.0" (or later) in
package.json, then run npm install to refresh dependencies and regenerate
package-lock.json; ensure package.json's vite entry remains "^8.0.0", confirm no
ERESOLVE errors, and run your build/test to verify the updated
"@vitejs/plugin-react" works with the Vite 8 upgrade.

}
}