【发布时间】:2021-02-26 06:45:58
【问题描述】:
按照installation instructions,运行时:
brew tap mongodb/brew
我收到以下错误:
Error: Invalid formula: /opt/homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongocli.rb
formulae require at least a URL
Error: Cannot tap mongodb/brew: invalid syntax in tap!
我确实符合先决条件(更新 xcode 和 brew)。我确保运行brew update 和brew doctor。
此时,我在 mongodb/homebrew-brew repo 上寻找答案,看到了一个非常 recent commit for the mongocli。
显然,它定义了具有 Intel 芯片但未提及 Apple M1 芯片的 Mac 和 Linux 机器的 URL。这阻止了我目前点击 mongodb。您知道任何解决方法还是我在某个地方犯了错误?
【问题讨论】:
标签: mongodb macos-big-sur apple-m1