🤑 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
    • Showing results for:
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Close
  • Maximilian Skjønhaug
    Maximilian Skjønhaug
    4,637 Points

    Warnings about vulnerabilities when I do npm install

    Posted on Apr 24, 2022 by Maximilian Skjønhaug
    Maximilian Skjønhaug
    4,637 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Using Callbacks

    1 Answer

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    Having trouble understanding

    Posted on Apr 9, 2022 by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Reduce Error Handling Code When Using Async/Await

    1 Answer

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    wrapping the function to a promise?

    Posted on Apr 9, 2022 by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Refactor Using Async/Await

    0 Answers

  • karan Badhwar
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points

    accessing res inside Callback

    Posted on Apr 9, 2022 by karan Badhwar
    .a{fill-rule:evenodd;}techdegree seal-36
    karan Badhwar
    Web Development Techdegree Graduate 18,135 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Using Callbacks

    1 Answer

  • weinian he
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    weinian he
    Full Stack JavaScript Techdegree Graduate 17,167 Points

    can you give the code for getFollowers? I don't foresee why you can pass user and follower from the then((user,follower)

    Posted on Apr 2, 2022 by weinian he
    .a{fill-rule:evenodd;}techdegree seal-36
    weinian he
    Full Stack JavaScript Techdegree Graduate 17,167 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Using Callbacks

    1 Answer

  • James Crosslin
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    James Crosslin
    Full Stack JavaScript Techdegree Graduate 16,882 Points

    Just want to say that Treasure did a great job with this lesson!

    Posted on Apr 16, 2021 by James Crosslin
    .a{fill-rule:evenodd;}techdegree seal-36
    James Crosslin
    Full Stack JavaScript Techdegree Graduate 16,882 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Asynchronous Programming with Express

    1 Answer

  • babyoscar
    babyoscar
    12,930 Points

    I can't start the server

    Posted on Dec 19, 2020 by babyoscar
    babyoscar
    12,930 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Using Callbacks

    3 Answers

  • David Aguirre
    David Aguirre
    8,170 Points

    index.pug For Each User in Users declaration and express route

    Posted on Sep 13, 2020 by David Aguirre
    David Aguirre
    8,170 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Refactor Using Async/Await

    1 Answer

  • Michael Cook
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Michael Cook
    Full Stack JavaScript Techdegree Graduate 28,975 Points

    I don't fully understand asyncHandler. Can someone clarify this?

    Posted on Jan 30, 2020 by Michael Cook
    .a{fill-rule:evenodd;}techdegree seal-36
    Michael Cook
    Full Stack JavaScript Techdegree Graduate 28,975 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Reduce Error Handling Code When Using Async/Await

    5 Answers

  • Will Albertsen
    Will Albertsen
    13,155 Points

    localhost will not load

    Posted on Oct 26, 2019 by Will Albertsen
    Will Albertsen
    13,155 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Using Callbacks

    2 Answers

  • Anthony Ogounchi
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Anthony Ogounchi
    Full Stack JavaScript Techdegree Graduate 14,594 Points

    Keep getting a Type error...

    Posted on Sep 25, 2019 by Anthony Ogounchi
    .a{fill-rule:evenodd;}techdegree seal-36
    Anthony Ogounchi
    Full Stack JavaScript Techdegree Graduate 14,594 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Refactor Using Async/Await

    1 Answer

  • Luis Walderdorff
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Luis Walderdorff
    Full Stack JavaScript Techdegree Graduate 27,070 Points

    I don't understand the async keyword.

    Posted on May 12, 2019 by Luis Walderdorff
    .a{fill-rule:evenodd;}techdegree seal-36
    Luis Walderdorff
    Full Stack JavaScript Techdegree Graduate 27,070 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Refactor Using Async/Await

    1 Answer

  • Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points

    couldnt get server to start

    Posted on May 10, 2019 by Adam Lyles Kauffman
    Adam Lyles Kauffman
    14,016 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Using Callbacks

    4 Answers

  • Vitaly Khe
    Vitaly Khe
    7,160 Points

    Why refactoring getQuotes to async/await doesn't work?

    Posted on Apr 8, 2019 by Vitaly Khe
    Vitaly Khe
    7,160 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Refactor Using Async/Await

    2 Answers

  • Brendan Whiting
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points

    Could we mount the asyncHandler middleware with app.use()?

    Posted on Feb 21, 2019 by Brendan Whiting
    .a{fill-rule:evenodd;}techdegree seal-36
    Brendan Whiting
    Front End Web Development Techdegree Graduate 84,738 Points
    • JavaScript
    • Asynchronous Code in Express
    • Asynchronous Code in Express
    • Reduce Error Handling Code When Using Async/Await

    1 Answer

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.