vue-js-modal
vue-js-modal copied to clipboard
Incompatible with vue version 2.6.13: Error "unable to resolve dependency tree"
Problem:
If a clean project uses vue version 2.6.13 it will throw an "unable to resolve dependency tree" error when installing vue-js-modal with npm i vue-js-modal
.
Version:
2.0.0-rc.6
Example & screenshots:
I've created a clean default vue 2 app with the vue cli (@vue/cli 4.5.12) and run npm i vue-js-modal
.
Following error was displayed:
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/vue
npm ERR! vue@"^2.6.13" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer vue@"2.6.11" from [email protected]
npm ERR! node_modules/vue-js-modal
npm ERR! vue-js-modal@"*" 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\Daniel\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\Daniel\AppData\Local\npm-cache\_logs\2021-06-02T09_44_35_736Z-debug.log```
I just use --force
and it works.
npm i vue-js-modal --force
I think the author abandoned this package
as it seems this was fixed in december 2020 but never released...: https://github.com/euvl/vue-js-modal/commit/b1a48534b033ef4e2508dfb26ce3315d94647d0c
since there were some recent updates to the git, hopefully a new realease will be made soon???
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.