PanJiaChen / vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
MIT License
87.17k stars 30.4k forks source link

克隆项目后无法成功安装依赖Operation timed out,网络可以正常google #4084

Open fantasy525 opened 1 year ago

fantasy525 commented 1 year ago

克隆项目后无法成功安装依赖

Steps to reproduce(问题复现步骤)

  1. 克隆项目到本地电脑
  2. yarn
  3. 有网络超时的报错出现
  4. fatal: unable to access 'https://github.com/nhn/raphael.git/': LibreSSL SSL_read: error:02FFF03C:system library:func(4095):Operation timed out, errno 60 at ProcessTermError.ExtendableBuiltin (/usr/local/lib/node_modules/yarn/lib/cli.js:721:66) at ProcessTermError.MessageError (/usr/local/lib/node_modules/yarn/lib/cli.js:750:123) at new ProcessTermError (/usr/local/lib/node_modules/yarn/lib/cli.js:790:113) at ChildProcess.<anonymous> (/usr/local/lib/node_modules/yarn/lib/cli.js:25787:17) at ChildProcess.emit (node:events:513:28) at maybeClose (node:internal/child_process:1093:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)

Screenshot or Gif(截图或动态图)

image

Link to minimal reproduction(最小可在线还原demo)

Other relevant information(格外信息)

fantasy525 commented 1 year ago

4063 #4049

fantasy525 commented 1 year ago

看到一篇文章给出了解决方案,是 项目依赖的 tui-editor 插件包更换了包名,导致无法正常安装成功,一直卡在这里,因此解决办法很简单,更换项目package.json里面 tui-editor 为@toast-ui/editor 即可,同时也希望作者能进行更改 image