Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

无法启动 #42

Open
zukxu opened this issue Feb 8, 2022 · 1 comment
Open

无法启动 #42

zukxu opened this issue Feb 8, 2022 · 1 comment

Comments

@zukxu
Copy link

zukxu commented Feb 8, 2022

使用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: sparrow-server@0.9.27
npm ERR! Found: eslint@6.8.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@">= 1.6.0 < 7.0.0" from @vue/cli-plugin-eslint@4.5.15
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: eslint@8.8.0
npm ERR! node_modules/eslint
npm ERR!   peer eslint@"^7.0.0 || ^8.0.0" from eslint-plugin-promise@6.0.0
npm ERR!   node_modules/eslint-plugin-promise
npm ERR!     peer eslint-plugin-promise@">= 4.2.1" from @vue/eslint-config-standard@5.1.2
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依赖都已经移除,还是无法启动,提示:安装依赖失败,重新安装。

@sparrow-js
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants