ERESOLVE unable to resolve dependency tree
See original GitHub issueI’m trying to install in a project that uses Vuejs and Webpack, so, I’ve tried this steps below recommend on README.md:
npm i plain-draggable
cd node_modules/plain-draggable
npm i
and in command:
npm i
I’ve got this errors below:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: plain-draggable@2.5.14
npm ERR! Found: babel-core@7.0.0-bridge.0
npm ERR! node_modules/babel-core
npm ERR! dev babel-core@"^7.0.0-bridge.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer babel-core@"6" from babel-loader@7.1.5
npm ERR! node_modules/babel-loader
npm ERR! dev babel-loader@"^7.1.5" 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 C:\Users\guima\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\guima\AppData\Local\npm-cache\_logs\2021-06-05T20_03_42_369Z-debug.log
I’m not an expert about the versions of Babel, could you help me please ? Thanks in advance
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Unable to resolve dependency tree error when installing npm ...
You have dependency conflict (incorrect and potentially broken dependency) as it says, so try to run the command with --force , or --legacy-peer ......
Read more >Unable to resolve dependency tree error in Angular while ...
To fix Unable to resolve dependency tree error in Angular while installing `npm` packages follow the below steps. 1.
Read more >ERESOLVE unable to resolve dependency tree when npm ...
Sometimes, When you are running npm install, You will get a dependency error npm ERR! ERESOLVE is unable to resolve the dependency tree....
Read more >ERESOLVE unable to resolve dependency tree error [Solved]
The error "npm ERR! ERESOLVE unable to resolve dependency tree" occurs because starting with NPM version 7, NPM tries to install peerDependencies by...
Read more >How to Fix npm ERR ERESOLVE Unable to Resolve ...
Command:- npm config set legacy-peer-deps trueIn This Video We Will See How to Fix npm ERR ERESOLVE Unable to Resolve Dependency Tree ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @lucaslgr, thank you for the comment. Try this:
instead of:
😄