最佳答案
我对 MongoDB 还比较陌生,正在尝试用 Homebrew 在 Mac 上安装 MongoDB,但是我得到了以下错误:
Error: No available formula with the name "mongodb"
==> 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...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
我跑了
brew update
然后
brew install mongodb