followed the instructions on this page
-
xcode-select --install
-
brew tap mongodb/brew
-
brew update
// ==> Updating Homebrew…
// Already up-to-date. -
brew install mongodb-community@7.0
Error: No available formula with the name "mongodb/brew/mongodb-community@7.0".
`Did you mean mongodb/brew/mongodb-community@5.0, mongodb/brew/mongodb-community@6.0, mongodb/brew/mongodb-community, mongodb/brew/mongodb-community@4.4, mongodb/brew/mongodb-community-shell, mongodb/brew/mongodb-community-shell@4.4, mongodb/brew/mongodb-mongocryptd@7.0 or mongodb/brew/mongodb-enterprise@7.0?` `In formula file: /usr/local/Homebrew/Library/Taps/mongodb/homebrew-brew/Formula/mongodb-community@7.0.r` `Expected to find class MongodbCommunityAT70, but only found: MongodbCommunity.`
There’s a topic from Apr 2023 where someone mentions this issue and in which a Mongo Employee says he fixed it, but just wanted to let you all know this error is still occurring.
Workaround:
brew install mongodb-community@6.0