Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

npm install yarn npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! #1084

Open
KangChou opened this issue Oct 13, 2023 · 0 comments

Comments

@KangChou
Copy link

npm install yarn
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR! peer webpack@">=2" from [email protected]
npm ERR! node_modules/babel-loader
npm ERR! dev babel-loader@"^8.2.2" from the root project
npm ERR! peer webpack@"^2.0.0 || ^3.0.0 || ^4.0.0" from [email protected]
npm ERR! node_modules/file-loader
npm ERR! dev file-loader@"^2.0.0" from the root project
npm ERR! 7 more (pegjs-loader, raw-loader, terser-webpack-plugin, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^5.0.0" from [email protected]
npm ERR! node_modules/karma-webpack
npm ERR! dev karma-webpack@"^5.0.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!
npm ERR! For a full report see:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache_logs\2023-10-13T15_39_33_393Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2023-10-13T15_39_33_393Z-debug-0.log
(diffenv) PS D:\my_project\myNCnet\charticulator> npm install --legacy-peer-deps
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant