Open samyarkhafan opened 2 years ago
note : I can even install things normally with --force and everything works fine, but like i said i wonder if i somehow caused this issue. also the log :
npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: @vue/eslint-config-standard@6.1.0 npm ERR! Found: eslint-plugin-vue@8.7.1 npm ERR! node_modules/eslint-plugin-vue npm ERR! dev eslint-plugin-vue@"^8.0.3" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0 npm ERR! node_modules/@vue/eslint-config-standard npm ERR! dev @vue/eslint-config-standard@"^6.1.0" from the root project npm ERR! npm ERR! Conflicting peer dependency: eslint-plugin-vue@7.20.0 npm ERR! node_modules/eslint-plugin-vue npm ERR! peer eslint-plugin-vue@"^7.0.0" from @vue/eslint-config-standard@6.1.0 npm ERR! node_modules/@vue/eslint-config-standard npm ERR! dev @vue/eslint-config-standard@"^6.1.0" 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\Crysis\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\Crysis\AppData\Local\npm-cache_logs\2022-08-15T06_39_43_248Z-debug-0.log
couldn't get the file cause i overwrote it
I have the same problem
It looks similar to this issue: https://github.com/vuejs/vue-cli/issues/7189
Version
5.0.8
Environment info
Steps to reproduce
install node install vue on it with npm install -g @vue/cli create a new project with vue ui (babel, router, css pre processor,linter/formatter,use external config files) and in the end make the config for linter and formatter be : eslint+standard config
go to the project's folder and install a package, npm install axios error about eslint
What is expected?
npm installing the package normally
What is actually happening?
eslint versions not matching the one in package.json
i fixed it by editing the eslint version in package.json temporary. but my question is that, is this a vue bug or an issue in my end?