xlsdg/vue-countup-v2

Getting some warnings in the vue-countup-v2

theshashiverma opened this issue · 4 comments

npm WARN vue-countup-v2@4.0.0 requires a peer of countup.js@latest but none is installed. You must install peer dependencies yourself.
npm WARN vue-countup-v2@4.0.0 requires a peer of vue@latest but none is installed. You must install peer dependencies yourself.
Why i am getting this, I have the latest version of a library,.

xlsdg commented

npm install --save vue countup.js vue-countup-v2

When i use yarn I got this warning:

warning " > vue-countup-v2@4.0.0" has incorrect peer dependency "countup.js@latest"

My version is:

"countup.js": "^2.0.4",
"vue-countup-v2": "^4.0.0"

any solution?

xlsdg commented

You can ignore that warning.

Hey @xlsdg thank you for keeping this project!

While I agree that the warning can be ignored I would strongly suggest you to use a better dependency description here:

"peerDependencies": {

Because we are not entirely sure of how Vue and Countup projects may manage their releases in the future, it is really not safe to keep @latest.