LibreSSL SSL_read: error:02FFF03C:system library:func(4095):Operation timed out, errno 60
报错日志
leepandar@localhost ant-design-vue-jeecg % yarn install
yarn install v1.22.19
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads https://github.com/nhn/raphael.git
Directory: /Users/leepandar/workspace/psi/ant-design-vue-jeecg
Output:
fatal: 无法访问 'https://github.com/nhn/raphael.git/':LibreSSL SSL_read: error:02FFF03C:system library:func(4095):Operation timed out, errno 60
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
修复方式
查看GitHub的ip,可以用下方地址:https://www.ipaddress.com/site/github.com
将GitHub的IP添加到host中