Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration guide to use with RRv7 #47

Open
theskillwithin opened this issue Mar 7, 2025 · 2 comments
Open

Migration guide to use with RRv7 #47

theskillwithin opened this issue Mar 7, 2025 · 2 comments

Comments

@theskillwithin
Copy link

Is there a guide to upgrade to react router v7?

@theskillwithin
Copy link
Author

@aaronduce
Copy link

@theskillwithin after the Codemod have you got NPM to install with v1 routes?

im getting:

npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: REDACTED@undefined
npm error Found: [email protected]
npm error node_modules/react-router
npm error   react-router@"^7.0.0" from the root project
npm error   react-router@"6.30.0" from @remix-run/[email protected]
npm error   node_modules/@remix-run/react
npm error     peer @remix-run/react@"^2.16.0" from @remix-run/[email protected]
npm error     node_modules/@remix-run/dev
npm error       peer @remix-run/dev@"^1.15.0 || ^2.0.0" from @remix-run/[email protected]
npm error       node_modules/@remix-run/v1-route-convention
npm error         @remix-run/v1-route-convention@"^0.1.2" from the root project
npm error       1 more (remix-folder-routing)
npm error     peer @remix-run/react@"^1.15.0 || ^2.0.0" from @remix-run/[email protected]
npm error     node_modules/@remix-run/v1-meta
npm error     1 more (remix-utils)
npm error   1 more (react-router-dom)
npm error
npm error Could not resolve dependency:
npm error dev @react-router/dev@"^7.0.0" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react-router
npm error   peer react-router@"^7.4.0" from @react-router/[email protected]
npm error   node_modules/@react-router/dev
npm error     dev @react-router/dev@"^7.0.0" 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.
npm error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants