【发布时间】:2020-08-13 08:58:38
【问题描述】:
尝试通过 brew 安装 Java 开发工具包后出现以下错误:
> Updating Homebrew...
> ==> Tapping homebrew/cask Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask'... remote:
> Enumerating objects: 2, done. remote: Counting objects: 100% (2/2),
> done. remote: Compressing objects: 100% (2/2), done. error: RPC
> failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60 fatal:
> the remote end hung up unexpectedly fatal: early EOF fatal: index-pack
> failed Error: Failure while executing; `git clone
> https://github.com/Homebrew/homebrew-cask
> /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask` exited with
> 128. Follow the instructions here: https://github.com/Homebrew/homebrew-cask#reporting-bugs
> /usr/local/Homebrew/Library/Homebrew/utils.rb:285:in `safe_system'
> /usr/local/Homebrew/Library/Homebrew/tap.rb:273:in `install'
> /usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:147:in `run'
> /usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:97:in `run'
> /usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
> /usr/local/Homebrew/Library/Homebrew/brew.rb:112:in `<main>'
如何解决这个问题?
【问题讨论】:
标签: java react-native homebrew