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 trialNathan Kim
3,837 PointsThere is a syntax error about my code and I cannot figure it out. Help Appreciated!
There is an error in my code and I am not able to figure it out. Thank you.
Nathan Kim
3,837 PointsThis is the link to the code. Sorry for the inconvenience. https://w.trhou.se/g98ap6gtvp
1 Answer
Steven Parker
231,269 PointsOn line 18 there is a "console.log" statement, but nothing else in that handler to do anything with the data chunk.
Did you perhaps intend to have something there like "body += data;
"?
Nathan Kim
3,837 PointsThank you so much! That fixed the problem.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsTo make it possible for someone to help, either show your code here, or make a snapshot of your workspace and post the link to it here.
Providing a link to the course page involved would also be useful.