🤑 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
  • han voon wong
    han voon wong
    11,650 Points

    does anyone try openweather and successfully did it ?

    Posted July 29, 2021 7:14am by han voon wong
    han voon wong
    11,650 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Caleb Newell
    Caleb Newell
    12,562 Points

    unexpected token in JSON at position 4

    Posted March 12, 2021 11:05am by Caleb Newell
    Caleb Newell
    12,562 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Tom Lamb
    Tom Lamb
    9,472 Points

    For OpenWeatherMap, I checked whether the query is a number or a city before passing the url.

    Posted December 9, 2020 12:28am by Tom Lamb
    Tom Lamb
    9,472 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    0 Answers

  • Danny L.
    Danny L.
    10,837 Points

    Where did querystring come from?

    Posted October 12, 2020 4:38pm by Danny L.
    Danny L.
    10,837 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Jonathan Ambriz
    PLUS
    Jonathan Ambriz
    Courses Plus Student 3,902 Points

    Was getting unhandled error event.

    Posted September 17, 2020 12:11pm by Jonathan Ambriz
    Jonathan Ambriz
    Courses Plus Student 3,902 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Julianna Kahn
    Julianna Kahn
    20,702 Points

    Keep getting the error message: Cannot find module '_/api.json'

    Posted May 24, 2019 11:24pm by Julianna Kahn
    Julianna Kahn
    20,702 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • ada ada
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    ada ada
    Front End Web Development Techdegree Student 192 Points

    Getting error. Please help

    Posted March 17, 2019 6:16am by ada ada
    .a{fill-rule:evenodd;}techdegree
    ada ada
    Front End Web Development Techdegree Student 192 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Kayvon Wallace
    Kayvon Wallace
    15,686 Points

    i have no question. just wanted to put this out there. this whole section needs to be reworked.

    Posted July 19, 2018 11:03pm by Kayvon Wallace
    Kayvon Wallace
    15,686 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    3 Answers

  • benjaminmosery
    benjaminmosery
    6,346 Points

    "This Key does not exist"

    Posted March 11, 2018 6:56pm by benjaminmosery
    benjaminmosery
    6,346 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    2 Answers

  • Lewis Brown
    PLUS
    Lewis Brown
    Courses Plus Student 573 Points

    cannot read property 'city' of undefined

    Posted February 24, 2018 6:39pm by Lewis Brown
    Lewis Brown
    Courses Plus Student 573 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    5 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    Getting an error from his code

    Posted January 24, 2018 9:21pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Łukasz Sitnik
    Łukasz Sitnik
    3,306 Points

    It seems I have no access to the API's properties

    Posted January 22, 2018 11:04pm by Łukasz Sitnik
    Łukasz Sitnik
    3,306 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    9 Answers

  • Nathaniel Evans
    Nathaniel Evans
    14,205 Points

    Issue getting the correct parameters (I think)

    Posted October 2, 2017 10:19am by Nathaniel Evans
    Nathaniel Evans
    14,205 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    2 Answers

  • Devon Stanton
    Devon Stanton
    7,793 Points

    How do I change the temperature metric

    Posted September 17, 2017 5:58pm by Devon Stanton
    Devon Stanton
    7,793 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    2 Answers

  • Peter Gess
    Peter Gess
    16,553 Points

    Getting error in Node.js: Missing } in template expression somewhere

    Posted May 16, 2017 5:55pm by Peter Gess
    Peter Gess
    16,553 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Petar Karagenov
    Petar Karagenov
    8,608 Points

    The readableQuery const

    Posted May 14, 2017 8:03pm by Petar Karagenov
    Petar Karagenov
    8,608 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    1 Answer

  • Nick Trabue
    PLUS
    Nick Trabue
    Courses Plus Student 12,666 Points

    Error: connect ETIMEDOUT

    Posted May 2, 2017 1:56pm by Nick Trabue
    Nick Trabue
    Courses Plus Student 12,666 Points
    • JavaScript
    • Node.js Basics 2017
    • Create a Command Line Weather Application
    • Parsing Data and Printing - Solution

    0 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.