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
Adam Croom
1,392 PointsStill getting "Cannot GET /" and can't load the static pages
I successfully navigated to the last 30 seconds of the video but unfortunately was not able to properly serve the files from the "public" folder. I've checked my code against the project downloads and it doesn't seem to be a code error. Any ideas?
2 Answers
Adam Croom
1,392 PointsWhoops--that's strange. It's the Setting Up an Express Application video in the new MEAN Application course.
Seth Kroger
56,416 PointsMake sure you're running the server from the project's root directory with node src/app.js, not within the src/ directory. If that isn't the issue, post your app.js file so we can take a look.
Rich Donnellan
Treehouse Moderator 27,741 PointsRich Donnellan
Treehouse Moderator 27,741 PointsYour post isn't tied to any specific course topic. Can you elaborate on which video you are referring to and post some code?
https://teamtreehouse.com/community/posting-code-to-the-forum