question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conflicting peer dependencies

See original GitHub issue

Steps to Reproduce

  1. npm i @sentry/vue @sentry/capacitor

Result

npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR! 
npm ERR! While resolving: @sentry/capacitor@0.8.0
npm ERR! Found: @sentry/vue@7.7.0
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/capacitor@0.8.0
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/vue@7.6.0
npm ERR! node_modules/@sentry/vue
npm ERR!   peerOptional @sentry/vue@"7.6.0" from @sentry/capacitor@0.8.0
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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
OrbisKcommented, Jul 26, 2022

I have noticed that the problem does not occur with Node v16.x, but with the latest version.

0reactions
lucas-zimermancommented, Sep 20, 2022

Closing since the dependency got updated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I read npm "conflicting peer dependency" error ...
My general understanding of a "conflicting peer dependency" error is that some package I depend upon is expressing a peer dependency on a ......
Read more >
[Fixed] NPM conflicting peer dependency error
[Fixed] NPM conflicting peer dependency error · 1. Check for incompatible versions and upgrade the versions with NPM · 2. Use npm install...
Read more >
Conflicting peer dependencies on React · Issue #44 - GitHub
When running npm install I'm getting an error about conflicting peer dependencies on React. Using Node v16.15.1. Using npm v8.11.0.
Read more >
How to solve peer dependencies error after updating ... - Reddit
I regularly update dependencies using npm i -g npm-check-updates & then doing ncu -u which updates my package.json with latest versions.
Read more >
Cannot resolve dependency / conflicting peer dependency error
Cannot resolve dependency / conflicting peer dependency error - solution. 2K views 6 months ago #javascript #frontend #reactjsforbeginners.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found