router
router copied to clipboard
Update peerDependency react-location to match higher versions
When installing anything in my project I get this error:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @tanstack/[email protected]
npm ERR! Found: @tanstack/[email protected]
npm ERR! node_modules/@tanstack/react-location
npm ERR! @tanstack/react-location@"^3.7.4" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @tanstack/react-location@"3.4.4" from @tanstack/[email protected]
npm ERR! node_modules/@tanstack/react-location-devtools
npm ERR! @tanstack/react-location-devtools@"^3.4.4" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @tanstack/[email protected]
npm ERR! node_modules/@tanstack/react-location
npm ERR! peer @tanstack/react-location@"3.4.4" from @tanstack/[email protected]
npm ERR! node_modules/@tanstack/react-location-devtools
npm ERR! @tanstack/react-location-devtools@"^3.4.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
I hope by changing the peerDependency to match also higher versions of react-location this could be fixed.
@AO19 is attempting to deploy a commit to the Tanstack Team on Vercel.
A member of the Team first needs to authorize it.
@tannerlinsley is this PR the right solution for the error message? Or is the cause for the problem somewhere else?