Open gotounix opened 2 years ago
+1
node v16.18.0 同样问题
Error: Command 「npm install」 executed failed:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: arco-design-pro-vue@1.0.0
npm ERR! Found: eslint@8.7.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^8.7.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from eslint-config-airbnb-base@14.2.1
npm ERR! node_modules/eslint-config-airbnb-base
npm ERR! dev eslint-config-airbnb-base@"^14.2.1" 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\qianjiachun\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\qianjiachun\AppData\Local\npm-cache\_logs\2022-10-27T07_58_03_424Z-debug-0.log
arco-init 项目初始化失败!
Error: spawnSync yarn.cmd ENOENT
Basic Info
Steps to reproduce
使用 Node.js v16.15.1初始化项目失败:
使用 Node.js v18.6.0 初始化项目成果,但是依赖安装失败:
手动安装依赖失败: