router icon indicating copy to clipboard operation
router copied to clipboard

Update peerDependency react-location to match higher versions

Open AO19 opened this issue 3 years ago • 2 comments

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 avatar Jun 30 '22 15:06 AO19

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 30 '22 15:06 vercel[bot]

@tannerlinsley is this PR the right solution for the error message? Or is the cause for the problem somewhere else?

AO19 avatar Jul 03 '22 10:07 AO19