Error: No such file or directory - /usr/local/var/homebrew/linked/mongodb-community
I am trying to install MongoDB community but I keep getting this error where it gives me an error saying I don't have a directory named mongodb-community when such a directory already exists.
CodePudding user response:
Just in case someone else ran into the same problem:
Solution i: sudo brew services start mongodb-community
Solution ii:
cd Desktop
mkdir dbs
cd dbs
mongod --dbpath .