Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript Node.js Basics (2014) Introduction to Node.js Hello World

Ondrej Moravcik
Ondrej Moravcik
15,223 Points

When I typed node<enter>1+2<enter> I got a blank line(incorrect) in WS. When I defined variable I got undefined(correct)

Why?

6 Answers

I opened a new Workspace and ran node in the console, typed 1 + 2 and hit Enter and got... a very faint pink number 3 (I could barely see it).

Try again and highlight/select the 'blank' line with your mouse to see if there is actually text there.

Andrew Chalkley, you guys might want to rethink the colour scheme for the Workspaces Console!

Oğulcan Girginc
Oğulcan Girginc
24,848 Points

Hi Andrew Chalkley

The output colour is now a very faint yellow and still can't see without highlighting...

Gary Calhoun
Gary Calhoun
10,317 Points

Just a heads up this is still an issue the 3 is barely visible but yes highlighting is the only way to clearly see what it says.

It's now May 2016 and this issue is still present.

Adam Duffield
Adam Duffield
30,494 Points

August 2016 and still present, I thought the console was broke till I saw these comments!

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

I've raised this again with the dev team. Sorry for the inconvenience.

niksalleh
niksalleh
2,827 Points

Issue is still there, 3 is not visible unless highlighted. Its now Nove 2016

Andrew Chalkley
Andrew Chalkley
Treehouse Guest Teacher

Thanks - this has been escalated recently hope to get it sorted soon.