Skip to content

fix: Match vite and @vitejs/plugin-react versions on example#12193

Open
GabrielBB wants to merge 2 commits intovercel:mainfrom
GabrielBB:patch-1
Open

fix: Match vite and @vitejs/plugin-react versions on example#12193
GabrielBB wants to merge 2 commits intovercel:mainfrom
GabrielBB:patch-1

Conversation

@GabrielBB
Copy link

@GabrielBB GabrielBB commented Mar 7, 2026

Description

Solve this error that I got with Node 24 and NPM (not PNPM):

npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: web@0.0.0
npm error Found: vite@5.4.21
npm error node_modules/vite
npm error   dev vite@"^5.1.4" from web@0.0.0
npm error   apps/web
npm error     web@0.0.0
npm error     node_modules/web
npm error       workspace apps/web from the root project
npm error
npm error Could not resolve dependency:
npm error peer vite@"^4.1.0-beta.0" from @vitejs/plugin-react@3.1.0
npm error node_modules/@vitejs/plugin-react
npm error   dev @vitejs/plugin-react@"^3.1.0" from web@0.0.0
npm error   apps/web
npm error     web@0.0.0
npm error     node_modules/web
npm error       workspace apps/web from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

Testing Instructions

Run npm install

@GabrielBB GabrielBB requested a review from a team as a code owner March 7, 2026 14:50
@GabrielBB GabrielBB requested review from tknickman and removed request for a team March 7, 2026 14:50
@turbo-orchestrator turbo-orchestrator bot added the area: examples Improvements or additions to examples label Mar 7, 2026
@vercel
Copy link
Contributor

vercel bot commented Mar 7, 2026

@GabrielBB is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@vercel vercel bot temporarily deployed to Preview – turborepo-test-coverage March 7, 2026 14:50 Inactive
@vercel
Copy link
Contributor

vercel bot commented Mar 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
turborepo-test-coverage Skipped Skipped Open in v0 Mar 9, 2026 9:50am

@GabrielBB GabrielBB changed the title Match vite and @vitejs/plugin-react versions on example fix: Match vite and @vitejs/plugin-react versions on example Mar 7, 2026
Copy link
Contributor

@anthonyshew anthonyshew left a comment

Choose a reason for hiding this comment

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

Can you update the example's lockfile as well?

@vercel vercel bot temporarily deployed to Preview – turborepo-test-coverage March 9, 2026 09:50 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: examples Improvements or additions to examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants