Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Express Basics Using Templates with Express Breaking Your Project’s Templates into Partials

Jerry Louis
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jerry Louis
Full Stack JavaScript Techdegree Graduate 14,099 Points

Hello! I am having an issue with my directory. https://github.com/JerryLouisDev/pugPractice

Why am I getting this error?

Error: ENOENT: no such file or directory, open '/Users/jeylouie/flashcard/views/inlcudes/footer.pug'

I have mirrored the video and for some reason, I still have an error message..

Thank you for the help!

1 Answer

Torben Korb
seal-mask
PLUS
.a{fill-rule:evenodd;}techdegree seal-36
Torben Korb
Front End Web Development Techdegree Graduate 91,433 Points

Hi Jerry, it seems like a simple typo in your layout.pug file where you include the footer. Just correct the path from "inlcudes" (written false) to "includes".

Typical error that happens the best of us and things that are sometimes hard to spot. Happy coding!