網(wǎng)站首頁(yè) 編程語(yǔ)言 正文
npm 報(bào)錯(cuò): npm ERR! code ERESOLVE , npm ERR! code E404
作者:苦澀精靈 更新時(shí)間: 2022-01-20 編程語(yǔ)言npm 報(bào)錯(cuò):
PS D:\Software\HBuilderX\Workspace\vant\vant-demo\vant\vue2> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: vant-demo-vue2@1.0.0
npm ERR! Found: eslint@4.19.1
npm ERR! node_modules/eslint
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.0.0 || ^6.0.0" from eslint-plugin-vue@6.2.2
npm ERR! node_modules/eslint-plugin-vue
npm ERR! dev eslint-plugin-vue@"^6.0.1" from the root project
npm ERR!
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.
查看當(dāng)前npm 版本
npm -v
7.x版本的vpm 要正常在vscode上使用的指令:
npm i --legacy-peer-deps
現(xiàn)在就可以使用了
原文鏈接:https://blog.csdn.net/weixin_43873198/article/details/120739987
相關(guān)推薦
- 2022-04-02 Python操作word文檔的示例詳解_python
- 2022-11-23 一文教會(huì)你用正則表達(dá)式校驗(yàn)日期時(shí)間格式_正則表達(dá)式
- 2022-02-18 引入redis報(bào)錯(cuò)Bean method ‘redisConnectionFactory‘ not
- 2023-10-31 springboot 線程池參數(shù)解釋
- 2022-03-31 C語(yǔ)言類的雙向鏈表詳解_C 語(yǔ)言
- 2023-02-12 python中使用docx模塊處理word文檔_python
- 2022-04-26 Python?Socket?編程知識(shí)點(diǎn)詳細(xì)介紹_python
- 2023-04-16 c#?成員類型訪問(wèn)權(quán)限低于字段本身的實(shí)現(xiàn)_C#教程
- 最近更新
-
- window11 系統(tǒng)安裝 yarn
- 超詳細(xì)win安裝深度學(xué)習(xí)環(huán)境2025年最新版(
- Linux 中運(yùn)行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲(chǔ)小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎(chǔ)操作-- 運(yùn)算符,流程控制 Flo
- 1. Int 和Integer 的區(qū)別,Jav
- spring @retryable不生效的一種
- Spring Security之認(rèn)證信息的處理
- Spring Security之認(rèn)證過(guò)濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權(quán)
- redisson分布式鎖中waittime的設(shè)
- maven:解決release錯(cuò)誤:Artif
- restTemplate使用總結(jié)
- Spring Security之安全異常處理
- MybatisPlus優(yōu)雅實(shí)現(xiàn)加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務(wù)發(fā)現(xiàn)-Nac
- Spring Security之基于HttpR
- Redis 底層數(shù)據(jù)結(jié)構(gòu)-簡(jiǎn)單動(dòng)態(tài)字符串(SD
- arthas操作spring被代理目標(biāo)對(duì)象命令
- Spring中的單例模式應(yīng)用詳解
- 聊聊消息隊(duì)列,發(fā)送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠(yuǎn)程分支