euvl / vue-js-modal

Easy to use, highly customizable Vue.js modal library.
http://vue-js-modal.yev.io
MIT License
4.36k stars 592 forks source link

Incompatible with vue version 2.6.13: Error "unable to resolve dependency tree" #701

Open dnl-re opened 3 years ago

dnl-re commented 3 years ago

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: aaaaaaaasdf@0.1.0
npm ERR! Found: vue@2.6.13
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 vue-js-modal@2.0.0-rc.6
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```
SarwarAhmed commented 3 years ago

I just use --force and it works.

npm i vue-js-modal --force
bangnokia commented 3 years ago

I think the author abandoned this package

yennor commented 3 years ago

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???

stale[bot] commented 2 years ago

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.