Skip to main content

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

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

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
  • Ava Jones
    Ava Jones
    10,767 Points

    Getting throw err when running program

    Posted February 26, 2024 5:53pm by Ava Jones
    Ava Jones
    10,767 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Ava Jones
    Ava Jones
    10,767 Points

    Getting throw error from running pug

    Posted February 13, 2024 5:55pm by Ava Jones
    Ava Jones
    10,767 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Stephanie De La Melena
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Stephanie De La Melena
    Full Stack JavaScript Techdegree Graduate 14,578 Points

    How do we make the index.pug folder appear on the web?

    Posted July 10, 2022 8:47pm by Stephanie De La Melena
    .a{fill-rule:evenodd;}techdegree seal-36
    Stephanie De La Melena
    Full Stack JavaScript Techdegree Graduate 14,578 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • JASON LEE
    JASON LEE
    17,352 Points

    Pug template configuration, how does express know where to look ?

    Posted January 15, 2022 3:06am by JASON LEE
    JASON LEE
    17,352 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • koen haentjens
    koen haentjens
    7,343 Points

    keep getting an error when start up the site in local host

    Posted December 17, 2021 3:46pm by koen haentjens
    koen haentjens
    7,343 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Brendan Moran
    Brendan Moran
    14,052 Points

    Text wrapping in pug file

    Posted August 30, 2020 12:46am by Brendan Moran
    Brendan Moran
    14,052 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Miguel Adan
    Miguel Adan
    5,370 Points

    Error: `line` is not an integer

    Posted April 21, 2020 8:10pm by Miguel Adan
    Miguel Adan
    5,370 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Isabelle Caspersson
    Isabelle Caspersson
    6,679 Points

    Can't load page - don't know why?

    Posted December 18, 2019 11:29am by Isabelle Caspersson
    Isabelle Caspersson
    6,679 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    3 Answers

  • Marlene Guzman
    Marlene Guzman
    9,231 Points

    I am having issues running PUG

    Posted June 14, 2019 3:58am by Marlene Guzman
    Marlene Guzman
    9,231 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • patleroux
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    patleroux
    Full Stack JavaScript Techdegree Student 10,057 Points

    Why is it not working on a remote host. I tried 32.345.23.45:3000 but it does not work.

    Posted March 27, 2019 4:50pm by patleroux
    .a{fill-rule:evenodd;}techdegree
    patleroux
    Full Stack JavaScript Techdegree Student 10,057 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    2 Answers

  • Christopher Steitz
    Christopher Steitz
    29,749 Points

    Why does Andrew already a .gitignore in his files

    Posted February 23, 2019 4:37am by Christopher Steitz
    Christopher Steitz
    29,749 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Michael Pashkov
    Michael Pashkov
    22,024 Points

    If we had site with 1000 pages, should we make 1000 routes and templates?

    Posted October 17, 2018 10:39am by Michael Pashkov
    Michael Pashkov
    22,024 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    3 Answers

  • mcdev
    mcdev
    2,802 Points

    Is PUG similar to templating in PHP?

    Posted August 15, 2018 4:33am by mcdev
    mcdev
    2,802 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    0 Answers

  • Armand Ramos
    Armand Ramos
    6,002 Points

    I cannot install pug using the command "npm install pug --save". I get a "RollbackFailedOptional" ...

    Posted May 22, 2018 8:02am by Armand Ramos
    Armand Ramos
    6,002 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    3 Answers

  • Brian Foley
    Brian Foley
    8,440 Points

    lost localhost connection

    Posted August 25, 2017 12:28pm by Brian Foley
    Brian Foley
    8,440 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    1 Answer

  • Carrie Happoldt
    Carrie Happoldt
    15,160 Points

    Why don't I have to require pug?

    Posted July 14, 2017 3:39pm by Carrie Happoldt
    Carrie Happoldt
    15,160 Points
    • JavaScript
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App

    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