Trying to install mongodb server on my mac using Brew but getting this error.
Updated my brew to latest version, still getting this error.
Command i used:
brew install [email protected]
Trying to install mongodb server on my mac using Brew but getting this error.
Updated my brew to latest version, still getting this error.
Command i used:
brew install [email protected]
I figured it out myself. Here is the solution which I found out. I am using mac os on intel processor.
I first run
rm -fr $(brew --repo homebrew/core)
then
brew tap homebrew/core
then
brew tap mongodb/brew
then installed it
brew install [email protected]
This worked for me.
/data/db
directory which is no longer allowed in current versions of macOS. I only had to run brew tap mongodb/brew
and the install
command though, without needing to delete the homebrew/core
directory. –
Hjerpe © 2022 - 2024 — McMap. All rights reserved.