🤑 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
  • NAHIMA ABEA
    NAHIMA ABEA
    5,728 Points

    I keep getting this error message, I rewrote it multiple times and thought had to do with not being my username and keep

    Posted June 16, 2022 10:27pm by NAHIMA ABEA
    NAHIMA ABEA
    5,728 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Marni Ali
    Marni Ali
    4,642 Points

    Retrieve the data for Javascript points using my personal profile as an example.

    Posted April 13, 2022 10:17am by Marni Ali
    Marni Ali
    4,642 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Gillian Nieh
    Gillian Nieh
    5,709 Points

    Syntax Error

    Posted August 5, 2021 4:42pm by Gillian Nieh
    Gillian Nieh
    5,709 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • babyoscar
    babyoscar
    12,930 Points

    It says "profile is not defined"

    Posted December 1, 2020 4:28pm by babyoscar
    babyoscar
    12,930 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Sander Heieren
    Sander Heieren
    12,613 Points

    Why can I not see value of body? Only prints out empty string. Does it not get added to the the string for every chunk?

    Posted September 21, 2020 8:41pm by Sander Heieren
    Sander Heieren
    12,613 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Joseph Tavinor
    Joseph Tavinor
    8,397 Points

    How to get documentation in the console

    Posted September 16, 2020 9:54am by Joseph Tavinor
    Joseph Tavinor
    8,397 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Hamzah Iqbal
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points

    At 2:00, why do we not return length on the JavaScript object. We are returning a number after all?

    Posted June 15, 2020 6:43pm by Hamzah Iqbal
    .a{fill-rule:evenodd;}techdegree
    Hamzah Iqbal
    Full Stack JavaScript Techdegree Student 11,145 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    3 Answers

  • Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points

    SyntaxError: Unexpected token d in JSON at position 0 undefined:1 data:data

    Posted April 22, 2020 8:12pm by Kaleshe Alleyne-Vassel
    Kaleshe Alleyne-Vassel
    8,466 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • francisobrien
    francisobrien
    2,131 Points

    Why does this return a syntax error at JSON.parse(body)?

    Posted April 16, 2020 6:47am by francisobrien
    francisobrien
    2,131 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Sandi Wu
    Sandi Wu
    6,752 Points

    Unexpected token u in JSON

    Posted March 3, 2020 3:18am by Sandi Wu
    Sandi Wu
    6,752 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

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

    How to access first element of JSON object array?

    Posted March 17, 2019 4:26am by ada ada
    .a{fill-rule:evenodd;}techdegree
    ada ada
    Front End Web Development Techdegree Student 192 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Vlad Tanasie
    Vlad Tanasie
    782 Points

    TypeError: Cannot read property 'JavaScript' of undefined

    Posted February 20, 2019 11:35am by Vlad Tanasie
    Vlad Tanasie
    782 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • lassek
    lassek
    8,209 Points

    I see no result difference using console.log vs console.dir

    Posted November 14, 2018 9:25am by lassek
    lassek
    8,209 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • aleti chaitanya
    aleti chaitanya
    3,588 Points

    Unexpected token i in JSON at position 1:

    Posted September 11, 2018 7:04am by aleti chaitanya
    aleti chaitanya
    3,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Teacher Russell
    Teacher Russell
    16,873 Points

    Parsing JSON

    Posted June 27, 2018 11:52pm by Teacher Russell
    Teacher Russell
    16,873 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • James Blazer
    James Blazer
    3,836 Points

    getting (node:374) warning

    Posted May 12, 2018 2:36am by James Blazer
    James Blazer
    3,836 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    0 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    TypeError: Cannot read property 'length' of undefined

    Posted January 31, 2018 11:13pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Brian Patterson
    Brian Patterson
    19,588 Points

    node not returning anything.

    Posted January 28, 2018 5:23pm by Brian Patterson
    Brian Patterson
    19,588 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Alan Mills
    Alan Mills
    31,712 Points

    Question about escape characters in Workspaces and parsing this very same JSON data

    Posted January 18, 2018 2:27am by Alan Mills
    Alan Mills
    31,712 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • KarthikReddy Lingareddy
    KarthikReddy Lingareddy
    403 Points

    How to parse a CSV file?

    Posted December 18, 2017 7:18am by KarthikReddy Lingareddy
    KarthikReddy Lingareddy
    403 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    2 Answers

  • Nathan Kim
    Nathan Kim
    3,837 Points

    There is a syntax error about my code and I cannot figure it out. Help Appreciated!

    Posted November 25, 2017 9:18pm by Nathan Kim
    Nathan Kim
    3,837 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    1 Answer

  • Osaro Igbinovia
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Osaro Igbinovia
    Full Stack JavaScript Techdegree Student 15,928 Points

    How can I display my message?

    Posted October 18, 2017 3:18pm by Osaro Igbinovia
    .a{fill-rule:evenodd;}techdegree
    Osaro Igbinovia
    Full Stack JavaScript Techdegree Student 15,928 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    4 Answers

  • Aaron Smith
    Aaron Smith
    19,091 Points

    const vs. var

    Posted September 9, 2017 2:12pm by Aaron Smith
    Aaron Smith
    19,091 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

    3 Answers

  • Tim Blokzyl
    Tim Blokzyl
    145 Points

    Link to API is returning 404, has its location changed?

    Posted February 20, 2017 2:17am by Tim Blokzyl
    Tim Blokzyl
    145 Points
    • JavaScript
    • Node.js Basics 2017
    • Building a Command Line Application
    • Parsing JSON

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