🤑 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
  • 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.

    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.