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

🤑 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

🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

  • 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
    • Express Basics
    • Using Templates with Express
    • Using Pug in Your Express App
    • Close
  • Ava Jones
    Ava Jones
    10,767 Points

    Getting throw err when running program

    Posted on Feb 26, 2024 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 on Feb 13, 2024 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 on Jul 10, 2022 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 on Jan 15, 2022 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 on Dec 17, 2021 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 on Aug 30, 2020 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 on Apr 21, 2020 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 on Dec 18, 2019 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 on Jun 14, 2019 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 on Mar 27, 2019 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 on Feb 23, 2019 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 on Oct 17, 2018 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 on Aug 15, 2018 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 on May 22, 2018 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 on Aug 25, 2017 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 on Jul 14, 2017 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.