Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJack Jackson
6,082 PointsHow do you start mongo server? You don't mention it in the video.
How do you start mongo server? You don't mention it in the video.
Kristofer Doman
18,307 PointsI watched all the videos, pretty sure he doesn't.
Alessandro Calorì
10,241 PointsYou're right. He talks about it in the "Mongo basics" course. Sorry, I'm following the JS track and I mixed the videos... :P
4 Answers
Simon McKeon
15,517 PointsRun the following command in the terminal.
mongod
Kristofer Doman
18,307 Points-bash: mongod: command not found
Which is weird, cause I did npm install as he did in the video.
S P
Courses Plus Student 433 PointsKristofer Doman you did npm install of Mongoose, but do you have Mongo installed?
Scott Millner
Full Stack JavaScript Techdegree Graduate 15,139 PointsThat was my problem: I didn't have mongodb installed as a dependency.
Mira Chen
143 Pointsinstall mongodb: https://docs.mongodb.com/manual/administration/install-community/
then run mongod in the terminal.
Satyajeet Poradia
7,434 PointsThe manual is very helpful for newbie.. Thanks, Mira Chen
Edvards Valbahs
Courses Plus Student 23,881 Pointsfor Ubuntu linux: sudo service mongod start
Alessandro Calorì
10,241 PointsAlessandro Calorì
10,241 PointsActually he does in the previous videos of this course.