Error: No available formula with the name "brew-php-switcher"
phoenixg opened this issue · comments
→ brew install brew-php-switcher
Error: No available formula with the name "brew-php-switcher"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
==> Searching local taps...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
Then I tried:
→ git -C "$(brew --repo homebrew/core)" fetch --unshallow
fatal: dumb http transport does not support shallow capabilities
https://github.com/Homebrew/homebrew-core/blob/master/Formula/brew-php-switcher.rb
The formula definitely exists.
I’d double check your Homebrew installation. Perhaps try running brew doctor
.
→ brew doctor
Your system is ready to brew.
After I run brew update
, then the formula can be installed.