Hi Team!
Could you help me with this issue?
I’m trying to install Mongodb on my Mac, but when I try to start the services with Brew I got the next error:
hesus@MacBook-Air-de-Jorge ~ % brew update
Already up-to-date.
hesus@MacBook-Air-de-Jorge ~ % brew install mongodb-community@6.0
Warning: mongodb/brew/mongodb-community 6.0.6 is already installed and up-to-date.
To reinstall 6.0.6, run:
brew reinstall mongodb-community
hesus@MacBook-Air-de-Jorge ~ % brew --prefix
/opt/homebrew
hesus@MacBook-Air-de-Jorge ~ % brew services start mongodb-community@6.0
Error: Permission denied @ rb_sysopen - /Users/hesus/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
hesus@MacBook-Air-de-Jorge ~ % brew doctor
Your system is ready to brew.
hesus@MacBook-Air-de-Jorge ~ % sudo chown $(whoami) ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
chown: /Users/hesus/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist: No such file or directory
hesus@MacBook-Air-de-Jorge ~ %