sentry-capacitor
sentry-capacitor copied to clipboard
Conflicting peer dependencies
Steps to Reproduce
npm i @sentry/vue @sentry/capacitor
Result
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @sentry/[email protected]
npm ERR! Found: @sentry/[email protected]
npm ERR! node_modules/@sentry/vue
npm ERR! @sentry/vue@"^7.7.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peerOptional @sentry/vue@"7.6.0" from @sentry/[email protected]
npm ERR! node_modules/@sentry/capacitor
npm ERR! @sentry/capacitor@"^0.8.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @sentry/[email protected]
npm ERR! node_modules/@sentry/vue
npm ERR! peerOptional @sentry/vue@"7.6.0" from @sentry/[email protected]
npm ERR! node_modules/@sentry/capacitor
npm ERR! @sentry/capacitor@"^0.8.0" 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.
npm ERR!
npm ERR! See /root/.npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2022-07-[26](https://singular-code.de/futureself/future.self-app/-/jobs/15825#L26)T10_18_57_868Z-debug-0.log
does it work if you specify the version of sentry/vue to 7.6.0?
I have noticed that the problem does not occur with Node v16.x, but with the latest version.
should work with sentry/[email protected], but @sentry/vue@"^7.7.0 is latest
Hi, I just finished investigating and indeed there's a conflict with the latest versions with Yarn. I'll bump the version in order to solve this conflict, but ideally we shouldn't need to bump for version changes
Closing since the dependency got updated.