当前位置:网站首页>【踩坑】npm安装报错解决办法
【踩坑】npm安装报错解决办法
2022-07-21 17:08:00 【接口写好了吗】
报错
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]0.1.0
npm ERR! Found: [email protected]3.2.37
npm ERR! node_modules/vue
npm ERR! [email protected]"^3.2.13" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer [email protected]"^2.5.17" from element-[email protected]2.15.9
npm ERR! node_modules/element-ui
npm ERR! element-[email protected]"*" 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\Administrator\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\Administrator\AppData\Local\npm-cache\_logs\2022-07-19T05_46_30_652Z-debug-0.log
解决办法
用我的中式英语翻译一下就是:不能解析依赖树 ,需要先修复上面依赖关系冲突或者重新执行一下npm install命令,后面跟–force或者–legacy-peer-deps去接受不正确的(并可能被破坏的)依赖解析。
根据它的建议,我们去执行npm install --force 或者 npm install --legacy-peer-deps
边栏推荐
- 同个一个工作簿下多个工作表相同格式
- excel中怎么批量在文字前后增加文字
- Write the first myshell program (computer experiment report II)
- 十年交易员重磅推荐:简单易操作的突破回调策略
- Self study golang [Chapter 3: the first go language program] use GoLand to create the first go program, the main function and init function, and use go to run Windows commands and realize the data out
- Can you do application development without programming? Yes!
- 職業交易者自用多年的終極突破策略分享(附全套交易模板)
- No.js--- based on V8 and IO_ Running JS runtime
- Seven / four / five layer network model
- Read and write file contents
猜你喜欢
excel 隐藏和取消隐藏
使用 SUM 函数对区域中的数字求和
自学golang【第一章:go语言基础知识】为什么要学习go语言?go语言与c语言的关系?go语言创始人?go语言的特性有哪些?go语言适合做什么?国内外有哪些企业或项目使用go语言?
char short int等类型变量在内存中占用字节数
量化交易日记-回撤分析-2021年02月6日
职业交易者自用多年的终极突破策略分享(附全套交易模板)
Hide and unhide Excel
SPI debugging is not successful, it is likely that you connected the wrong cable!!
自学golang【3.3go语言的循环语句】for循环语法结构,省略初始条件,省略递增条件,省略结束条件的应用
量化交易日记-2021年02月总结
随机推荐
Spark read CSV file operation, explanation of option parameter
农产品期货怎么开户,找谁能开光大期货啊?
activiti默认模型ER图
Installing MySQL on Linux (CentOS)
Soft exam intermediate [Database System Engineer] Chapter 1: computer system knowledge, self-study soft exam notes, preparation for the soft exam in May 2022, computer hardware system CPU composition
在瑞达期货开户安全吗?怎么开户?
Self study golang [3.2go language variable types and conditional statements, constants, variables, enumerations, application of if statements and switch statements]
同个一个工作簿下多个工作表相同格式
Can you do application development without programming? Yes!
youtube字幕下载
量化交易日记-2021年01月总结
The use of comma expression in C language
Error: L6200E: Symbol keyflag multiply defined (by main.o and key.o).
Sum the numbers in the region using the sum function
excel中怎么批量在文字前后增加文字
Implementation of hardware watchdog
One question per day (1)
地址总线、数据总线、控制总线详细解释
自学golang【3.4go语言的函数和指针】定义一个函数返回一个或多个值,go语言的指针,指针不能运算,go语言参数传递只有值传递,通过指针实现地址传递,函数返回2个值,如何只接受一个值
Hide and unhide Excel