【问题标题】:Mogodb won't install on my mac. I installed homebrew in order to install Mongodb but I'm getting some error messagesMongodb 不会安装在我的 Mac 上。我安装了自制软件以安装 Mongodb,但我收到了一些错误消息
【发布时间】:2020-01-10 01:49:38
【问题描述】:

我使用以下命令安装mongodb:

my-MBP:~ user$ brew install mongodb:

这是输出

Error: No available formula with the name "mongodb" 
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
These similarly named formulae were found:
mongodb/brew/mongodb-community                 mongodb/brew/mongodb-community@3.4
mongodb/brew/mongodb-community-shell           mongodb/brew/mongodb-community@3.6
mongodb/brew/mongodb-community@3.2             mongodb/brew/mongodb-community@4.0
To install one of them, run (for example):
  brew install mongodb/brew/mongodb-community
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

为什么我尝试输入“brew install mongo”时也会发生同样的事情。自制软件没有正确安装吗?我该如何具体解决这个问题?**

【问题讨论】:

标签: mongodb macos homebrew


【解决方案1】:

如果您还没有这样做,我会遵循官方安装指南: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/ https://github.com/mongodb/homebrew-brew

要使用 brew 安装,您必须首先:

brew tap mongodb/brew

那么,

brew install <mongodb>

对于输入,mongodb 似乎不是一个选项。如指南中所示,它应该类似于mongodb-community@4.2

希望这会有所帮助!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2021-04-19
    • 1970-01-01
    • 1970-01-01
    • 2020-03-16
    • 1970-01-01
    • 2019-08-28
    • 1970-01-01
    • 2019-03-19
    相关资源
    最近更新 更多