当前位置:网站首页>[NPM error] - NPM err code eresolve and NPM err eresolve could not resolve problems
[NPM error] - NPM err code eresolve and NPM err eresolve could not resolve problems
2022-07-29 02:59:00 【m0_ sixty-seven million four hundred and three thousand one hun】
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 [email protected]“^4.0.0 || ^5.0.0” from @soda/[email protected]
npm ERR! node_modules/@soda/friendly-errors-webpack-plugin
npm ERR! @soda/[email protected]“^1.8.0” from @vue/[email protected]
npm ERR! node_modules/@vue/cli-service
npm ERR! peer @vue/[email protected]“^3.0.0 || ^4.0.0 || ^5.0.0-0” from @vue/[email protected]
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! dev @vue/[email protected]“~5.0.0” from the root project
npm ERR! 4 more (@vue/cli-plugin-eslint, @vue/cli-plugin-router, …)
npm ERR! [email protected]“^5.54.0” from @vue/[email protected]
npm ERR! node_modules/@vue/cli-plugin-babel
npm ERR! dev @vue/[email protected]“~5.0.0” from the root project
npm ERR! 17 more (@vue/cli-plugin-eslint, @vue/cli-service, …)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! [email protected]“5.0.0” from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/webpack
npm ERR! peer [email protected]“^2.0.0 || ^3.0.0 || ^4.0.0” from [email protected]
npm ERR! node_modules/less-loader
npm ERR! [email protected]“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! See C:UsersadminAppDataLocal pm-cacheeresolve-report.txt for a full report.npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersadminAppDataLocal pm-cache_logs?2-05-07T09_45_32_750Z-debug-0.log
Here is a small series npm i less [email protected] -D Or the above error occurs in other dependent packages
May be npm Version error report
resolvent : Add after command
–legacy-peer-deps
–legacy-peer-deps The role of
stay NPM v7 in , Now installed by default peerDependencies.
In many cases , This can lead to version conflicts , This interrupts the installation process .
–legacy-peer-deps The sign is in v7 Introduced in , The purpose is to bypass peerDependency Automatic installation ; It tells NPM Ignore the various... Introduced in the project modules The same between modules But different versions have problems and continue to install , Ensure that different versions of each introduced dependency are used for itself modules coexistence .
边栏推荐
- 外挂---线段树懒标记板子+简单数学推理
- 创客教育的起源和内涵的基本理念
- 自组织是管理者和成员的双向奔赴
- A good-looking IAPP donation list source code
- Advanced architects, 16 common principles of microservice design and Governance
- The basic concept of the origin and connotation of maker Education
- SOA(面向服务架构)是什么?
- Pgzero aircraft war
- 冰冰学习笔记:运算符重载---日期类的实现
- Analyzing the subjective consciousness of emotional resonance between robots and human beings
猜你喜欢

UE4.25 Slate源码解读

Some new ideas about time complexity

Analysis of Project-based Learning Creativity in steam Education

FTP protocol details

C language: hollow square pattern

QT compilation of IOT management platform 48 characteristic function design

Look at robot education and lead the mainstream of quality education

The basic concept of the origin and connotation of maker Education

C语言:小乐乐与欧几里得

sqlilabs less-32~less-33
随机推荐
PHP lucky draw system with background source code
OWT server source code analysis (4) -- video module analysis of mixer out
HTB-Blocky
扫雷简单版
Analyzing the subjective consciousness of emotional resonance between robots and human beings
盘点国内外项目协同管理软件:SaaS和定制化成趋势
向DataFrame中的特定位置添加一行
创客教育的起源和内涵的基本理念
《QA离业务代码能有多近?》通过codediff直接暴露缺陷
04 | 后台登录:基于账号密码的登录方式(上)
金山云回港上市:中国TO B云厂商的港股奔袭
A good-looking IAPP donation list source code
Verilog的时间系统任务----$time、$stime、$realtime
冰冰学习笔记:运算符重载---日期类的实现
etcd实现大规模服务治理应用实战
C语言:判断字母
算法---粉刷房子(Kotlin)
My approval function of conference OA project
MySQL忘记密码怎么办
Multithreading realizes concurrent reading and execution of multi use case files +selenium grid4 realizes distributed deployment of test framework