小编use*_*016的帖子

致命:找不到远程引用 refs/heads/master

我正在尝试安装 Homebrew。但是,发生了以下错误。

fatal: couldn't find remote ref refs/heads/master
Error: Fetching /opt/homebrew/Library/Taps/dart-lang/homebrew-dart failed!
Error: Some taps failed to update! The following taps can not read their remote branches:   
       dart-lang/dart
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running 'brew tap --repair'
Failed during: /opt/homebrew/bin/brew update --force --quiet
Run Code Online (Sandbox Code Playgroud)

我尝试过跑步

brew tap --repair
Run Code Online (Sandbox Code Playgroud)

但事实证明zsh: command not found: brew 有人知道如何解决它吗?

homebrew dart

41
推荐指数
3
解决办法
1万
查看次数

标签 统计

dart ×1

homebrew ×1