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
William Curry4,107 Points
[RESOLVED] SyntaxError: Unexpected token :
var request = https.get(https://teamtreehouse.com/" + username + ".json", func
(^ points to the ":" in https://)
SyntaxError: Unexpected token :
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
Steven Parker227,114 Points
Yay! You get a for resolving your own issue!
Now you might want to edit your title and add [RESOLVED] at the beginning as an alternative to selecting an answer.