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

🐛 [Bug]: Error running npm i #65

Closed
GaoNeng-wWw opened this issue Mar 15, 2023 · 2 comments
Closed

🐛 [Bug]: Error running npm i #65

GaoNeng-wWw opened this issue Mar 15, 2023 · 2 comments

Comments

@GaoNeng-wWw
Copy link
Collaborator

Version

Vue Version

Link to minimal reproduction

https://github.com/GaoNeng-wWw/tiny-vue.git

Step to reproduce

  1. git clone https://github.com/GaoNeng-wWw/tiny-vue.git
  2. npm i
  3. 复现错误

What is expected

正常安装且不出错

What is actually happening

控制台发生了报错,具体报错参考报错日志

Any additional comments (optional)

Node: v18.7.0
npm: v8.15.0

@kagol
Copy link
Member

kagol commented Mar 15, 2023

@GaoNeng-wWw 报错日志里有以下提示:

this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.

请加上--force参数再试试:npm i --force,我后面更新下贡献指南。

另外,本地启动项目之前,需要将以下四个仓库全部clone下来,放到同一个目录层级中:

@GaoNeng-wWw
Copy link
Collaborator Author

可以正常启动了,感谢~

@kagol kagol changed the title 🐛 [Bug]: npm i 运行出错 🐛 [Bug]: Error running npm i Aug 2, 2023
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