I am running these simple commands on mac:
brew upgrade mongodb
brew install mongodb
I am getting this error below:
Error: mongodb: unknown version :mountain_lion
If i run the simple command: mongo , i get this
MongoDB shell version v4.0.3
But then I get an error saying couldn't connect to server
-- worth to note, I was playing around with the command line last night and somehow deleted all of my databases from mongodb on my machine(i think). I continuously get the above error when trying install and/or update mongodb.
I am "new" to mongoDB, but I have created a few full stack projects using it over the last 5-6 months. Not sure what I did, but I also can't run node db/seeds.js either as I get errors, even though I have the data in my vscode projects.
Thanks for the help.