Unable to run meteor mongo in METEOR@2.14 #12941
Labels
good first issue
Good first issue or something that should is nice to do.
Project:Docs
Project:Mongo Driver
Milestone
I have a METEOR@2.14 project running and would like to open the mongodb shell (to check the Mongodb version).
OS: Linux mint cinnamon
According to the docs for Meteor 2.14, I should open a second terminal window, navigate to my project and then run:
meteor mongo
What is
When I run this command, I see the following error:
According to the Meteor 2.11 migration guide, I should be able to use mongosh instead, but when I run:
mongosh
I see an error:
bash: mongosh: command not found
What should be
The docs should explain how to run the mongo shell.
meteor mongo
Update: after some investigation, I found that mongo shell needs to be installed separately, which is unexpected for a long-term Meteor user because I'm so used to everything in Meteor "just working" and the install / upgrade processes being so smooth.
After installing mongo shell, this works:
mongosh mongodb://127.0.0.1:3001/meteor
It would be super helpful if the migration guide pointed out that you need to install mongo shell, because this wasn't obvious to me.
https://www.mongodb.com/docs/mongodb-shell/install/
The text was updated successfully, but these errors were encountered: