sparrow icon indicating copy to clipboard operation
sparrow copied to clipboard

无法启动

Open zukxu opened this issue 3 years ago • 1 comments

使用script命令启动的时候无法启动 报错如下:

npm verb node v16.13.1
npm verb npm  v8.4.1
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/eslint
npm ERR!   peer eslint@">= 1.6.0 < 7.0.0" from @vue/[email protected]
npm ERR!   node_modules/@vue/cli-plugin-eslint
npm ERR!     dev @vue/cli-plugin-eslint@"^4.1.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! dev @vue/eslint-config-standard@"^5.0.1" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^7.0.0 || ^8.0.0" from [email protected]
npm ERR!   node_modules/eslint-plugin-promise
npm ERR!     peer eslint-plugin-promise@">= 4.2.1" from @vue/[email protected]
npm ERR!     node_modules/@vue/eslint-config-standard
npm ERR!
       dev @vue/eslint-config-standard@"^5.0.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 E:\Tools\nodejs\node_cache\eresolve-report.txt for a full report.
npm verb exit 1

我的所有相关的eslint依赖都已经移除,还是无法启动,提示:安装依赖失败,重新安装。

zukxu avatar Feb 08 '22 09:02 zukxu

cd .sparrow后目录下有几个项目,手动npm install 下试试

sparrow-js avatar Feb 09 '22 13:02 sparrow-js