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

Compatible with react-router@7 #6

Open
dartess opened this issue Jan 10, 2025 · 1 comment
Open

Compatible with react-router@7 #6

dartess opened this issue Jan 10, 2025 · 1 comment

Comments

@dartess
Copy link
Contributor

dartess commented Jan 10, 2025

react-router-dom has been collapsed into react-router package: https://reactrouter.com/start/changelog#package-restructuring

Now we got error while installing react-router-typed-object:

⚡ npm i react-router-typed-object
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: ...
npm error Found: [email protected]
npm error node_modules/react-router
npm error   react-router@"^7.1.1" from the root project
npm error
npm error Could not resolve dependency:
npm error peer react-router@"^6.27.0" from [email protected]
npm error node_modules/react-router-typed-object
npm error   react-router-typed-object@"*" 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.
@artalar
Copy link
Owner

artalar commented Jan 10, 2025

I should, probably, release a new major version with focus on rr7. Will do it in a week.

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