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 Introduction to Node.js Hello World

Johannes Deutsch
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Johannes Deutsch
Full Stack JavaScript Techdegree Graduate 18,852 Points

Hello! I cannot connect my terminal to Visual Studio Code.

it works until I type "cd nodePractice/" but when I type "code ." it says "zsh: command not found: node". Does somebody know how to connect to Visual Studio Code? Any help would be very appreciated. Thank you!

2 Answers

Hey Johannes,

I had the same problem. I googled it and came to this post. It worked for me on my macbook!

https://code.visualstudio.com/docs/setup/mac

Nice find, Maximilian Skjønhaug ! For anyone else struggling with this step, check out the step in the guide posted above about installing the 'code' command in path: Launching VSC from the Command Line.

Under some opereating systems, updates can introduce minor changes in permissions and access routes. Hopefully following the instructions here should help :-)