Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

Join the Treehouse affiliate program and earn 25% recurring commission! 🤑

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
      • • Vibe Coding
  • Parvez Noor
    PLUS
    Parvez Noor
    Courses Plus Student 15,918 Points

    MongoDB course retired and no explanation of how to install or use it on this video

    Posted April 10, 2020 4:46pm by Parvez Noor
    Parvez Noor
    Courses Plus Student 15,918 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Erik L
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Erik L
    Full Stack JavaScript Techdegree Graduate 19,470 Points

    I get a strange error when running mongod on terminal

    Posted February 16, 2019 5:30am by Erik L
    .a{fill-rule:evenodd;}techdegree seal-36
    Erik L
    Full Stack JavaScript Techdegree Graduate 19,470 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    1 Answer

  • Cynthia Smith
    Cynthia Smith
    8,031 Points

    trying to connect Mongoose to Mongodb

    Posted February 2, 2019 12:43am by Cynthia Smith
    Cynthia Smith
    8,031 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    1 Answer

  • Michael Pashkov
    Michael Pashkov
    22,024 Points

    bash: mongo: command not found any help?

    Posted November 13, 2018 4:27pm by Michael Pashkov
    Michael Pashkov
    22,024 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Robbie Schneider
    Robbie Schneider
    25,712 Points

    MongoDB? Am I missing where this is listed as a prerequisite?

    Posted June 21, 2018 1:11am by Robbie Schneider
    Robbie Schneider
    25,712 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    1 Answer

  • Peter Gess
    Peter Gess
    16,553 Points

    Require is not defined?

    Posted May 24, 2018 12:27pm by Peter Gess
    Peter Gess
    16,553 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Not sure why this hasn't saved

    Posted March 28, 2018 4:23pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    1 Answer

  • Richard Brown
    Richard Brown
    6,950 Points

    TypeError: Schema is not a constructor

    Posted March 4, 2018 9:39pm by Richard Brown
    Richard Brown
    6,950 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Rebekah Shaw
    Rebekah Shaw
    18,687 Points

    Error when connecting to mongod

    Posted February 12, 2018 3:03pm by Rebekah Shaw
    Rebekah Shaw
    18,687 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    3 Answers

  • jbiscornet
    jbiscornet
    22,547 Points

    The `useMongoClient` Option! I Need help setting it up?

    Posted October 13, 2017 7:03pm by jbiscornet
    jbiscornet
    22,547 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Akhil Nair
    Akhil Nair
    4,150 Points

    Mongo daemon Indicates there's an open connection?

    Posted August 26, 2017 6:33pm by Akhil Nair
    Akhil Nair
    4,150 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    0 Answers

  • Raman Pauliuts
    Raman Pauliuts
    11,104 Points

    there is no subtitles

    Posted February 7, 2017 6:52pm by Raman Pauliuts
    Raman Pauliuts
    11,104 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    1 Answer

  • Edvards Valbahs
    PLUS
    Edvards Valbahs
    Courses Plus Student 23,881 Points

    WARNING: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead

    Posted October 5, 2016 8:14pm by Edvards Valbahs
    Edvards Valbahs
    Courses Plus Student 23,881 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Dennis Klarenbeek
    Dennis Klarenbeek
    17,168 Points

    Get no connection to mongod.

    Posted October 3, 2016 10:15pm by Dennis Klarenbeek
    Dennis Klarenbeek
    17,168 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    4 Answers

  • Rails Duck
    Rails Duck
    8,545 Points

    How to start a mongo server?

    Posted September 12, 2016 10:08pm by Rails Duck
    Rails Duck
    8,545 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    2 Answers

  • Jack Jackson
    Jack Jackson
    6,082 Points

    How do you start mongo server? You don't mention it in the video.

    Posted July 8, 2016 8:31pm by Jack Jackson
    Jack Jackson
    6,082 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    4 Answers

  • John Shockey
    John Shockey
    45,061 Points

    [SOLVED] TypeError: db.on is not a function

    Posted July 7, 2016 5:51pm by John Shockey
    John Shockey
    45,061 Points
    • JavaScript
    • Build a REST API With Express
    • Modeling Data for the API
    • Connecting Mongoose to MongoDB

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

  • About
  • Blog
  • Community
  • Stories
  • Contact
  • Gift Card

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord