Mac OS Catalina 10.15.4
I installed the MongoDB server Community edition on my Mac without a problem (seemingly). I then installed MongoDB Compass community edition, from the MongoDB download center. The setup completed without any errors. When I try to run Compass, I get the following error message:
“MongoDB Compass.app” can’t be opened because Apple cannot check it for malicious software.
Anyone else running into this?
This warning is because the Compass binary isn’t notarised for macOS yet. MongoDB is working on resolving the issue. The workaround, for now, is to right click on it in the Applications folder, and select Open, you get a second warning, but this time, there's an additional button allowing you to open it.
Go to the MongoDB website's download section and download the correct version of MongoDB. Run the Mongo daemon, in one terminal window run ~/mongodb/bin/mongod . This will start the Mongo server. Run the Mongo shell, with the Mongo daemon running in one terminal, type ~/mongodb/bin/mongo in another terminal window.
Compass is a GUI client which can be used to manages collections, documents etc. To do development in Node. JS (or any other programming language) you do not need Compass as it is a GUI tool which is a mongo client. You can use mongo CLI client(Recommended).
System Preferences >> Security & Privacy >> General >> [Unlock]>> Allow apps Downloaded from >> You will find an alert specifically for MongoDB Compass Previously there was an option to enable from "Anywhere". Now it's removed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With