Homebrew Threw Error

Solution References from stack overflow

Tap the MongoDB Homebrew Tap:

brew tap mongodb/brew

Secondly, install using this command. MongoDB successfully installed

brew install mongodb-community@4.0

You will get the output

==> CaveatsTo have launchd start mongodb/brew/mongodb-community now and restart at login:
brew services start mongodb/brew/mongodb-community
brew services start mongodb/brew/mongodb-community@4.4

It will start it, enjoy!

--

--

--

--