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 Build a Simple Dynamic Site with Node.js Handling Routes in Node.js Populating User Information

Kendall McCall
Kendall McCall
5,648 Points

Changed the url to the updated one but still not working for me....Head starting to hurt...

https://w.trhou.se/9x8e6fv5c5

Please tell me what I'm missing at this point smh

1 Answer

Jamie Reardon
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jamie Reardon
Treehouse Project Reviewer

Hi Kendall McCall this line is incorrect in router.js:

var studentProfile = new Profile("profiles/chalkers");

the argument for Profile should be chalkers as you have already defined profiles/ in the request endpoint on line 18 in profile.js.

Correct:

var studentProfile = new Profile("chalkers");
Kendall McCall
Kendall McCall
5,648 Points

Thank you its always the small things!