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 trialChristopher Parke
21,978 Points"Failed to connect to MongoDB!" Error Message
When I start the server in node, I get the above error message and none of the logic or the todos are added to the page. It's just a page that says "new task" and when you click it it does nothing.
All I did was make a new directory, clone the repo, install NPM -- as the instructions say in the teacher's notes. Anyone know what's missing?
1 Answer
Spencer Snyder
4,030 PointsSounds like you don't have the mongo daemon running, did you install mongodb and start the mongo daemon before running your program?
If you have mongodb installed correctly open a new terminal tab and type the command mongod leave this running before you start your program