1. 场景
    项目中打包遇到了点问题,所以想删除原先装好的依赖包,重新yarn,结果神奇的报错了,无语。。。
  2. 遇到的问题
    (1)error An unexpected error occurred: "https://raw.githubusercontent.com/seonim-ryu/Squire/fd40b4e3020845825701e9689f190bab3f4775d4/package.json: connect ECONNREFUSED 0.0.0.0:443".
    原因:找不到 https://raw.githubusercontent.com
    解决方案:通过https://www.ipaddress.com/查询raw.githubusercontent.com的IP,并在hosts中配置
185.199.108.133  raw.githubusercontent.com

(2)fatal: unable to access 'https://github.com/nhn/raphael.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
原因:代理出现问题
解决方案:执行命令

git config --global --add remote.origin.proxy ""

相关文章:

  • 2021-07-22
  • 2021-04-24
  • 2021-05-26
  • 2021-08-17
  • 2021-10-03
  • 2021-11-07
  • 2021-04-14
  • 2021-04-04
猜你喜欢
  • 2021-09-05
  • 2021-07-17
  • 2022-12-23
  • 2022-02-15
  • 2021-12-18
  • 2021-04-01
  • 2021-05-26
相关资源
相似解决方案