vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

Can't install package -- unable to resolve dependency tree (core-js)

Open dosstx opened this issue 2 years ago • 5 comments

When trying to run npm install @mathieustan/vue-datepicker --save I get following error in VUE-CLI console:

npm ERR! code ERESOLVE
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/core-js
npm ERR!   core-js@"^3.6.5" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer core-js@"^2.6.5" from @mathieustan/[email protected]
npm ERR! node_modules/@mathieustan/vue-datepicker
npm ERR!   @mathieustan/vue-datepicker@"*" 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.

dosstx avatar Aug 20 '21 18:08 dosstx

Having the same issue - Is this package still being maintained?

KristenLeach avatar Sep 28 '21 00:09 KristenLeach

Yeah, I am having this issue as well. Anybody found a fix? I want to use this picker as it's the only one I found which has quarter selection.

SahilVasava avatar Oct 06 '21 05:10 SahilVasava

Seems to be blocked. No contribution on Github since December from the original author. Looks like it's an abandonned project. Hope it is not .. @mathieustan ?

oliviernguyenquoc avatar Oct 29 '21 15:10 oliviernguyenquoc

Hello @oliviernguyenquoc.

I don’t have much time those days to work on it. I planned to do alot of improvements but I need more time.

Did you try to install core-js locally on your project ? (As a fix until I do something)

mathieustan avatar Oct 29 '21 15:10 mathieustan

Thanks for the answer. Totally understand (and good luck btw ;) ) If you can only test / merge this PR: https://github.com/mathieustan/vue-datepicker/pull/90 It should solve this installation issue.

oliviernguyenquoc avatar Oct 29 '21 15:10 oliviernguyenquoc