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 trialBrian Lockerbie
Full Stack JavaScript Techdegree Graduate 17,512 PointsI cant launch program to start debugging
Whenever I go to launch program and start debugging I get an alert saying "Cannot launch program 'C:\Users\bri15_000\Downloads\debug-node-apps-with-vs-code\';
I still cannot connect to localhost3000 ...
1 Answer
John Nguyen
Full Stack JavaScript Techdegree Graduate 30,501 PointsI'm not sure if you're still having this issue but I resolved this issue by doing the following.
Editing line 28 on bin/www to
server.listen(port, '127.0.0.1');
I hope this helps you or someone else!
Dominic Rehm
Full Stack JavaScript Techdegree Graduate 25,595 PointsThanks John! I had the same problem but now it works :)
Henrique Hemerly
8,587 PointsHenrique Hemerly
8,587 PointsDid you unzip the folder first? The downloaded file we get from Treehouse is a .zip. Unzip that folder before trying to run it with VSC. If you have, are you opening the - folder - through Open > Folder in Visual Studio Code? You have to select "Open Folder", not "Open File"