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 Node.js Basics 2017 Building a Command Line Application Making a GET Request with https

Liam Hayes
seal-mask
.a{fill-rule:evenodd;}techdegree
Liam Hayes
Full Stack JavaScript Techdegree Student 13,116 Points

I think this challenge may have a glitch?

I'm on this challenge: https://teamtreehouse.com/library/nodejs-basics-2/building-a-command-line-application/-making-a-get-request-with-https

It is asking me this:

Challenge Task 1 of 4
Require Node.js' https module and assign it to the variable https.

I am answering this:

const https = require('https');

However, it's not working for some reason. Any idea how to get past this?

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

You bet man, your first answer will pass now too - It sounds like there was a small glitch when the engine that runs the code challenges on a few of them this morning.

Kevin Korte
Kevin Korte
28,149 Points

I thought maybe it didn't like const, but it didn't make a difference. I can't seem to figure it out either, but I'll pass it along.