Reputation: 41
Homebrew error screen capture
Anybody know why my Homebrew can't install any packages and keep showing this error?
I've tried to install watchman but homebrew shows me this error, then I tried to install other packages but still, this error shows up. I already tried to install and reinstall homebrew using /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)
.
Please help 🙏
Upvotes: 4
Views: 7387
Reputation: 309
enter this
brew doctor
and then this
git -C $(brew --repo homebrew/core) checkout master
same error, fix already now
Upvotes: 20
Reputation: 1
I had this issue. Turns out I had smooth brain and had just ended the Homebrew installation before it was complete, because it looked like it had stopped and I assumed it was complete.
To resolve it, I uninstalled Homebrew, removed the whole Homebrew directory, reinstalled it using the install_brew.sh file from the github, and made sure to let the full install finish and return me to the command line. Then installing watchman worked as expected.
Upvotes: 0
Reputation: 1
rm -fr $(brew --repo homebrew/cask)
brew tap homebrew/cask
then check brew doctor gives error again
Upvotes: 0