老师,帮忙看一下安装问题
Lily@xiaoxiannvdeMacBook-Pro homebrew-core % brew --version
Homebrew 3.2.3-59-gb18bbac
Homebrew/homebrew-core (no Git repository)
Homebrew/homebrew-cask (git revision 81ce2d0f9a; last commit 2021-07-22)
Lily@xiaoxiannvdeMacBook-Pro homebrew-core % cd "$(brew --repo)"
Lily@xiaoxiannvdeMacBook-Pro Homebrew % git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
Lily@xiaoxiannvdeMacBook-Pro Homebrew % cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
Lily@xiaoxiannvdeMacBook-Pro homebrew-core % git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
Lily@xiaoxiannvdeMacBook-Pro homebrew-core % brew install mongodb-community
error: Not a valid ref: refs/remotes/origin/master
==> Installing mongodb-community from mongodb/brew
Warning: No available formula with the name "mongosh" (dependency of mongodb/brew/mongodb-community). Did you mean mongocli?
==> Searching for similarly named formulae...
This similarly named formula was found:
mongocli
To install it, run:
brew install mongocli
It was migrated from mongodb/brew to homebrew/core.
Lily@xiaoxiannvdeMacBook-Pro homebrew-core % brew services start mongodb-community
Error: Formula `mongodb-community` is not installed.
Lily@xiaoxiannvdeMacBook-Pro homebrew-core %
问题描述:
mongodb-community安装不成功,老师帮忙看一下。
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星