cloudtian / blogs

Summary of knowledge and blogs for every little things
3 stars 0 forks source link

git问题合集 #2

Open cloudtian opened 5 years ago

cloudtian commented 5 years ago

1. error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

今天准备更新下代码,结果报错如下 image

在网上查找解决方案,说是通过升级git客户端即可解决

目前版本:

$ git --version
git version 2.7.2.windows.1

去官网下载了最新版安装之后重试ok了 image

2. OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054

image
解决方法: 加大缓存大小 git config --global http.postBuffer 524288000

cloudtian commented 5 years ago
  1. 执行npm install -g @vue/cli报错:
    Unexpected end of JSON input while parsing near '...ername":"ThomasdenH"}'

解决方案:执行命令 npm cache clean --force 后运行上述安装命令即可