npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: i-notes@0.3.3
npm ERR! Found: @typescript-eslint/eslint-plugin@4.33.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^4.8.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/eslint-plugin@"^2.7.0" from @vue/eslint-config-typescript@5.1.0
npm ERR! node_modules/@vue/eslint-config-typescript
npm ERR! dev @vue/eslint-config-typescript@"^5.0.2" 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 .npm/eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! .npm/_logs/2022-03-31T08_11_49_656Z-debug-0.log
(base) ivyone@ivyonedeMacBook-Pro electron-vue3-inote-main % npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: i-notes@0.3.3
npm ERR! Found: @typescript-eslint/eslint-plugin@4.33.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR! dev @typescript-eslint/eslint-plugin@"^4.8.2" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/eslint-plugin@"^2.7.0" from @vue/eslint-config-typescr
bug: dev @typescript-eslint/eslint-plugin@“^4.8.2“ from the root project
最新推荐文章于 2025-09-19 01:37:45 发布
本文介绍了如何解决在使用typescript-eslint插件时遇到的问题。通过删除node_modules目录和yarn.lock文件,然后重新安装依赖,可以成功修复问题。

最低0.47元/天 解锁文章
1803

被折叠的 条评论
为什么被折叠?



