AI can only take you so far. 🌟 Start with core skills in JavaScript, HTML, CSS, or Python. 🚀

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

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • 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
  • John Lukacs
    John Lukacs
    26,806 Points

    Require(http) Undefined?

    Posted December 31, 2016 10:24pm by John Lukacs
    John Lukacs
    26,806 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    7 Answers

  • Christopher Parke
    Christopher Parke
    21,978 Points

    Don't think this works anymore.

    Posted August 19, 2016 7:46am by Christopher Parke
    Christopher Parke
    21,978 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    3 Answers

  • Susan Rusie
    Susan Rusie
    10,671 Points

    Running NodeJS in the browser

    Posted June 18, 2016 5:10pm by Susan Rusie
    Susan Rusie
    10,671 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    2 Answers

  • Bereket Ghebremedhin
    Bereket Ghebremedhin
    3,746 Points

    The Node.js console is not responsive to anything that I input from the app.js file.

    Posted April 17, 2016 8:15pm by Bereket Ghebremedhin
    Bereket Ghebremedhin
    3,746 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    2 Answers

  • Daniel Granger
    PLUS
    Daniel Granger
    Courses Plus Student 19,857 Points

    .on("error", function(){...}); Not catching Error event.

    Posted February 20, 2016 11:34am by Daniel Granger
    Daniel Granger
    Courses Plus Student 19,857 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    4 Answers

  • JT Keller
    JT Keller
    12,731 Points

    Workspace Error Message Different from Mac Terminal or IntelliJ

    Posted January 26, 2016 2:37am by JT Keller
    JT Keller
    12,731 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    0 Answers

  • Yan Kozlovskiy
    Yan Kozlovskiy
    30,427 Points

    I'm getting a 301 HTTP response code instead of a 200. What should I do to fix the problem?

    Posted January 26, 2016 1:13am by Yan Kozlovskiy
    Yan Kozlovskiy
    30,427 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    5 Answers

  • jaeeunlee
    jaeeunlee
    3,127 Points

    Why is the connection refused if there's no http?

    Posted January 2, 2016 9:05pm by jaeeunlee
    jaeeunlee
    3,127 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    1 Answer

  • Chris Reich
    Chris Reich
    15,163 Points

    Having problems connecting to Treehouse. .

    Posted November 20, 2015 10:42pm by Chris Reich
    Chris Reich
    15,163 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    3 Answers

  • Nathan Reginato
    Nathan Reginato
    5,991 Points

    Hi there, I am currently working on this Node.js class and I seem to be getting a different status code.

    Posted November 5, 2015 9:15pm by Nathan Reginato
    Nathan Reginato
    5,991 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    2 Answers

  • Juliette Tworsey
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points

    Node.js Cannot generate error

    Posted September 12, 2015 9:20pm by Juliette Tworsey
    .a{fill-rule:evenodd;}techdegree seal-36
    Juliette Tworsey
    Front End Web Development Techdegree Graduate 32,625 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    0 Answers

  • Pete Farris
    Pete Farris
    13,132 Points

    400 error instead of Error Event

    Posted April 20, 2015 7:43pm by Pete Farris
    Pete Farris
    13,132 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    2 Answers

  • Placid Rodrigues
    Placid Rodrigues
    12,630 Points

    Cannot generate Error.

    Posted April 17, 2015 4:58pm by Placid Rodrigues
    Placid Rodrigues
    12,630 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    1 Answer

  • ja zeker
    PLUS
    ja zeker
    Courses Plus Student 819 Points

    http.get doesnt work [error]

    Posted February 11, 2015 11:45am by ja zeker
    ja zeker
    Courses Plus Student 819 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    5 Answers

  • Radha Bhambwani
    Radha Bhambwani
    10,182 Points

    Getting error 404 instead of 200..

    Posted December 20, 2014 2:14am by Radha Bhambwani
    Radha Bhambwani
    10,182 Points
    • JavaScript
    • Node.js Basics (2014)
    • Building a Command Line Application
    • Handling Errors in Node

    5 Answers

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

    Treehouse

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

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.