Update peerDependency react-location to match higher versions #292
Closed
AO19(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/292/head·opened 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/react-location-devtools@3.4.4
npm ERR! Found: @tanstack/react-location@3.7.4
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/react-location-devtools@3.4.4
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/react-location@3.4.4
npm ERR! node_modules/@tanstack/react-location
npm ERR! peer @tanstack/react-location@"3.4.4" from @tanstack/react-location-devtools@3.4.4
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.
- 1
@tannerlinsley is this PR the right solution for the error message? Or is the cause for the problem somewhere else?
tannerlinsley closed this
View your CI Pipeline Execution ↗ for commit be08adee51b84ef9c8372f219f55d84ddb102847.
Command Status Duration Result nx affected --targets=test:eslint,test:unit,tes...✅ Succeeded <1s View ↗ nx run-many --target=build --exclude=examples/*...✅ Succeeded 4s View ↗
☁️ Nx Cloud last updated this comment at
2025-05-13 14:37:33UTC
Sign in to join this conversation.
@AO19 is attempting to deploy a commit to the Tanstack Team on Vercel.
A member of the Team first needs to authorize it.