升级到 MacOS Mojave 10.14.4 后无法 npm 安装或使用 git (18E226)
Can't npm install or use git after upgrading to MacOS Mohave 10.14.4 (18E226)
这在重启后工作了一段时间,但随后我遇到了同样的错误:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ssl.icu-project.org:443
和request failed ... read ECONNRESET
这发生在 brew、git 和 npm 上。
这是我的 brew 配置:
HOMEBREW_VERSION: 2.1.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: b4f73e61649fcfc5aaa779c311e2514619ce01e7
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 422ef941c0a2b69e9e1ab93612cfbb2ead581bf6
Core tap last commit: 3 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_LOGS: /Users/home/Library/Logs/Homebrew
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.21.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.4-x86_64
CLT: 10.2.0.0.1.1552586384
Xcode: N/A
CLT headers: 10.2.0.0.1.1552586384
我尝试过的事情:
- 正在重新安装 brew、curl、git、node 等
export HOMEBREW_FORCE_BREWED_CURL=1
- 不存在代理或代理设置
npm config set registry http://registry.npmjs.org/
这个错误迫使我每隔几个小时重新启动一次,这让我在工作时感到沮丧。这只是在我升级到 MacOS Mojave 后才开始发生,我认为这是 curl 的问题 - 但我无法修复它。
问题出在我的杀毒软件上。更具体地说:卡巴斯基.
重新安装后问题不再存在。发布此文件以防将来对其他人有所帮助。
这在重启后工作了一段时间,但随后我遇到了同样的错误:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ssl.icu-project.org:443
和request failed ... read ECONNRESET
这发生在 brew、git 和 npm 上。
这是我的 brew 配置:
HOMEBREW_VERSION: 2.1.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: b4f73e61649fcfc5aaa779c311e2514619ce01e7
Last commit: 3 weeks ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 422ef941c0a2b69e9e1ab93612cfbb2ead581bf6
Core tap last commit: 3 days ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_LOGS: /Users/home/Library/Logs/Homebrew
CPU: octa-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.21.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
macOS: 10.14.4-x86_64
CLT: 10.2.0.0.1.1552586384
Xcode: N/A
CLT headers: 10.2.0.0.1.1552586384
我尝试过的事情:
- 正在重新安装 brew、curl、git、node 等
export HOMEBREW_FORCE_BREWED_CURL=1
- 不存在代理或代理设置
npm config set registry http://registry.npmjs.org/
这个错误迫使我每隔几个小时重新启动一次,这让我在工作时感到沮丧。这只是在我升级到 MacOS Mojave 后才开始发生,我认为这是 curl 的问题 - 但我无法修复它。
问题出在我的杀毒软件上。更具体地说:卡巴斯基.
重新安装后问题不再存在。发布此文件以防将来对其他人有所帮助。