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
Michael Brown
17,651 PointsGetting a ejs file to load in the browser using express, nodejs ,mongodb and ejs.(Embedded JavaScript)
So I am 90% done with my project, I have to pretify it a bit and add some things here and there, except I do have one last problem with my file path. When I load my browser, running the port 8080, it renders my ejs file like I told it to in my express app. And when I click on the links to get to my other files, it works just fine. However, whenever I try to click back to the link where my "index.ejs" file is, it gives me a cannot GET/. I inspected it and it is a 404 like last time, so I assume it is just another file path error, but not sure because it is a templated file. Does anyone know?