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 npm Basics (retiring) Installing Packages with npm Installing Global Packages

In case you can't get http-server to work, make sure you have the whole directory included

I just spent a ton of time trying to figure out why my ajax server wouldn't work, and realized you have to have the whole directory selected (that includes all css and js folders, not just the index.html file!).

In case anyone had trouble getting their http-server set up, I thought I'd point this out in case anyone made the same mistake.

or use sudo infront of command line..