使用yarn安装东西时候出现的错误:

fatal: unable to access 'https://github.com/nhn/raphael.git/': Unknown SSL protocol error in connection to github.com:443

最终给Git安装代理搞定:

# 设置当前代理
git config http.proxy http://127.0.0.1:2334

# 取消当前代理
git config --unset http.proxy

#取消全局代理
git config --global --unset http.proxy

#设置socks5代理
git config http.proxy socks5://127.0.0.1:10809

参考:

https://blog.csdn.net/default7/article/details/100068256

相关文章:

  • 2021-10-20
  • 2021-11-29
  • 2022-01-09
  • 2022-02-26
  • 2021-07-31
  • 2021-08-20
  • 2021-07-26
  • 2022-12-23
猜你喜欢
  • 2021-10-23
  • 2021-11-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案