I’m trying to install the MongoDB Community Edition by following MongoDB’s guide here. I’m on an M1 Mac running MacOS 12.6.
Brew (seemingly) installs MongoDB with no problems, however, when I go to run
brew services start email@example.com
I encounter this error:
Error: Permission denied @ rb_sysopen - /Users/[username]/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
When I go to view the file mentioned, using
ls -la ~/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist
I get the following error:
ls: /Users/[username]/Library/LaunchAgents/homebrew.mxcl.mongodb-community.plist: No such file or directory
I’ve uninstalled mongodb twice now and reinstalled it but nothings changed. Has anyone had this problem?