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
Was getting unhandled error event.
When following the instructions, I first got the following error:
throw er; // Unhandled 'error' event
Error: getaddrinfo ENOTFOUND api_wunderground.com api_wunderground.co
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
I corrected the URL for the API, and now get no errors, but it doesn't output the same string as the video. Instead, it just runs the code and opens another cursor. How would you troubleshoot this?
Here's the snapshot: http://w.trhou.se/qhnd5qucat