✨ 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
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values
    • Close
  • Carlos Chavez
    Carlos Chavez
    5,691 Points

    Why did the buffer work before trying to merge content with values?

    Posted on Jul 18, 2020 by Carlos Chavez
    Carlos Chavez
    5,691 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Catalina Villalonga
    Catalina Villalonga
    5,760 Points

    Error: ENOENT: no such file or directory

    Posted on Mar 30, 2020 by Catalina Villalonga
    Catalina Villalonga
    5,760 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    2 Answers

  • Daniel Benisti
    seal-mask
    .a{fill-rule:evenodd;}techdegree seal-36
    Daniel Benisti
    Front End Web Development Techdegree Graduate 22,224 Points

    over ride the filecontents variable.

    Posted on Jan 25, 2020 by Daniel Benisti
    .a{fill-rule:evenodd;}techdegree seal-36
    Daniel Benisti
    Front End Web Development Techdegree Graduate 22,224 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Jonathan Grieve
    MOD
    Jonathan Grieve
    Treehouse Moderator 91,254 Points

    Error: ENOENT: no such file or directory... when requesting URL.

    Posted on Jan 20, 2020 by Jonathan Grieve
    Jonathan Grieve
    Treehouse Moderator 91,254 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Henrique Hemerly
    Henrique Hemerly
    8,587 Points

    Content.replace is not a function

    Posted on Jan 1, 2020 by Henrique Hemerly
    Henrique Hemerly
    8,587 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Routine Poutine
    Routine Poutine
    26,050 Points

    Why are "%%" used for a placeholder and where does this syntax come from?

    Posted on Jul 31, 2019 by Routine Poutine
    Routine Poutine
    26,050 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Vitaly Khe
    Vitaly Khe
    7,160 Points

    for the error.html we need to pass the object in router.js to have view/mergeContent functions working

    Posted on Mar 17, 2019 by Vitaly Khe
    Vitaly Khe
    7,160 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    0 Answers

  • Kjetil-Lennart A. Lorentzen
    Kjetil-Lennart A. Lorentzen
    13,390 Points

    {{}} not turning into values, previous solutions not working

    Posted on Jul 16, 2018 by Kjetil-Lennart A. Lorentzen
    Kjetil-Lennart A. Lorentzen
    13,390 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    2 Answers

  • Duy Khanh
    PLUS
    Duy Khanh
    Courses Plus Student 4,911 Points

    I can not bind the value ? Help me

    Posted on Oct 26, 2017 by Duy Khanh
    Duy Khanh
    Courses Plus Student 4,911 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Gerry K
    Gerry K
    5,877 Points

    Getting error: content is not defined

    Posted on Jul 3, 2017 by Gerry K
    Gerry K
    5,877 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Edwin Carbajal
    Edwin Carbajal
    4,133 Points

    Key values not being rendered in view files :(

    Posted on Jan 18, 2017 by Edwin Carbajal
    Edwin Carbajal
    4,133 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • Ginger Williams
    Ginger Williams
    6,409 Points

    Still getting {{}} for everything except the badges

    Posted on Oct 12, 2016 by Ginger Williams
    Ginger Williams
    6,409 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Christopher Parke
    Christopher Parke
    21,978 Points

    Chalkers names his downloadable files poorly.

    Posted on Aug 27, 2016 by Christopher Parke
    Christopher Parke
    21,978 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Khaled Pendleton
    Khaled Pendleton
    20,430 Points

    Getting {{variableName}} instead of the actual value

    Posted on Aug 13, 2016 by Khaled Pendleton
    Khaled Pendleton
    20,430 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    1 Answer

  • thimoschroeder
    thimoschroeder
    23,470 Points

    fileContents = mergeValues(values, fileContents) - means exactly what?

    Posted on Jun 24, 2016 by thimoschroeder
    thimoschroeder
    23,470 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    0 Answers

  • Tim Smith
    Tim Smith
    6,069 Points

    Heads Up, fs.readFileSync() needs to have toString() chained to it

    Posted on May 4, 2016 by Tim Smith
    Tim Smith
    6,069 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    0 Answers

  • Michael Randall
    PLUS
    Michael Randall
    Courses Plus Student 10,643 Points

    Receiving "Moved Permanently" error message when searching for user profile after changing from https to http.

    Posted on Feb 3, 2016 by Michael Randall
    Michael Randall
    Courses Plus Student 10,643 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Faddah Wolf
    Faddah Wolf
    12,811 Points

    all valid usernames returning an error, "Moved Permanently." (???)

    Posted on Jan 18, 2016 by Faddah Wolf
    Faddah Wolf
    12,811 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    4 Answers

  • Pedro Ferrari
    Pedro Ferrari
    14,295 Points

    TypeError: undefined is not a function

    Posted on Nov 11, 2015 by Pedro Ferrari
    Pedro Ferrari
    14,295 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    4 Answers

  • Sergio Cruz
    Sergio Cruz
    15,550 Points

    Error: write after end?

    Posted on Aug 29, 2015 by Sergio Cruz
    Sergio Cruz
    15,550 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • George Akinian
    George Akinian
    17,615 Points

    profile page does not load profile information.

    Posted on Aug 7, 2015 by George Akinian
    George Akinian
    17,615 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    3 Answers

  • Duarte Monteiro
    Duarte Monteiro
    22,300 Points

    What is a buffer?

    Posted on Apr 14, 2015 by Duarte Monteiro
    Duarte Monteiro
    22,300 Points
    • JavaScript
    • Build a Simple Dynamic Site with Node.js
    • Creating a Basic Template Engine in Node.js
    • Binding Values

    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.