当前位置:网站首页>[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 .
边栏推荐
- 扫雷简单版
- [opencv] use OpenCV to call mobile camera
- Verilog的时间系统任务----$time、$stime、$realtime
- OSPF experiment
- Comic algorithm_ Xiaohuihui interview
- 并发模式之生产者消费者模式
- 常用hooks总结
- C language: hollow square pattern
- Analysis of concepts and terms in data warehouse
- Interpreting AI robots' pet raising and leading fashion trends
猜你喜欢

Cloud development workers must go to work fishing and paddling wechat applet source code

TP5.0 小程序用户无需登录,直接获取用户手机号。

从零开始实现lmax-Disruptor队列(六)Disruptor 解决伪共享、消费者优雅停止实现原理解析

Zone --- line segment tree lazy marking board sub problem

【FreeSwitch开发实践】UniMRCP编译与安装

etcd实现大规模服务治理应用实战

关于时间复杂度的一些新认识

Comic algorithm_ Xiaohuihui interview

PHP process communication series (I) named pipes

DHCP protocol detailed analysis
随机推荐
Etcd implementation of large-scale service governance application practice
DataGrip 如何导出和恢复整个数据库数据,使用单个 SQL 文件
C语言程序设计 | 交换二进制数奇偶位(宏实现)
C language: judging letters
向DataFrame中的特定位置添加一行
盘点国内外项目协同管理软件:SaaS和定制化成趋势
DHCP协议详细解析
C语言:小乐乐与欧几里得
UE4.25 Slate源码解读
RestfulAPI——C#——增加header用户名密码验证
Cloud development pocket toolbox wechat applet source code
【OpenCV】使用OpenCV调用手机摄像头
践踏---离散化+树状数组+差分
Notes on the ninth day
并发模式之异步回调Future模式
seed 随机种子
Plug in --- line segment sloth marking board + simple mathematical reasoning
MySQL compound query (important)
Pgzero aircraft war
Analyzing the subjective consciousness of emotional resonance between robots and human beings