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!

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 (2015) The Request and Response Objects in Express Requests and the request object

node-inspector not working... console only going to newline and not entering. Workaround

So, I found myself absolutely stumped on trying to get node-inspector to work the way it was in the video.

In the console, when I tried to display 'res' or 'req' it would just add a newline instead of a carriage return. Nothing!

Well, there is an issue with node-inspector and/or Chrome that will prevent some users from being able to complete these tasks. https://github.com/node-inspector/node-inspector/issues/903

I rolled back my version of Chrome a few versions (one of the ones listed in the support ticket) and it worked.

Here is an even better solution. @trojanliu's comment https://github.com/node-inspector/node-inspector/issues/951#issuecomment-262441472

Thanks for posting this Ben! Worked a treat.