As per the installation instructions, when running:
brew tap mongodb/brew
I get the following error:
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!
I do comply with prerequisites (updated xcode
and brew
). I made sure to run brew update
and brew doctor
.
At this point, I looked for answers on the mongodb/homebrew-brew repo and saw a very recent commit for the mongocli.
Apparently, it defines URLs for Mac and Linux machines that have Intel chips but no mention of Apple M1 chips. This is blocking me from tapping mongodb at the moment. Would you know of any workaround or am I making a mistake somewhere?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…