我正在尝试安装自制程序。但是,发生了以下错误。
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
我试过逃跑
brew tap --repair
但结果是zsh: command not found: brew
有人知道怎么修吗?😭
1条答案
按热度按时间oalqel3c1#
尝试
brew update-reset
,如果不起作用,可以粘贴brew doctor
输出吗?