Closed asifmalik-ba closed 2 years ago
I faced the same issue today when trying to install the newest version of vue-argon-dashboard.
It seems there is a conflict between the vue version required by argon-dashboard (3.0.5) and the peer dependency of the vue-toastification (^2.0.0).
After manually editing package.json to require "vue-toastification": "2.0.0-rc.5", there is another conflict with the eslint versions (this time argon-dashboard requires 7.17.0, but @vue/cli-plugin-eslint@4.5.10 requires eslint@">= 1.6.0 < 7.0.0") ...
UPDATE:
After using the --legacy-peer-deps
option, the installation went through:
npm install --legacy-peer-deps
It seems this is because of a newer version of npm that I'm using (8.1.1 at the moment) which is more strict with peer dependencies, so by using the --legacy-peer-deps
option you force npm to behave like in the older versions.
@akislawek do you mind sharing your node and npm version? Nothing seems to help me install the latest version
非常令人讨厌的js包依赖,碎片化,作者可以开发轮子,不停的提升轮子,我们在造车,有轮子了就用好了,结果轮子上的轮胎没有更新,因为是个人开发者,各自开发环境不同,个人又不保证更新,所以问题很多。
Hi guys,
For solving this just run npm i --legacy-peer-deps
and it will fix the entire issue.
All the best, Sajad
Version
Latest
Reproduction link
https://user-images.githubusercontent.com/72439725/134075474-6d00be50-f1d3-435b-982c-1b794724a5ef.png
Operating System
Manjaro Latest
Device
HP ZHAN 66 Pro A 14
Browser & Version
Terminal, OMz
Steps to reproduce
npm install
What is expected?
it should download all the dependencies according to package.json
What is actually happening?
https://user-images.githubusercontent.com/72439725/134075474-6d00be50-f1d3-435b-982c-1b794724a5ef.png
Please reply to asif.cse14@gmail.com
Solution
Additional comments