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

Development Tools

Andrii Kodola
seal-mask
.a{fill-rule:evenodd;}techdegree
Andrii Kodola
Full Stack JavaScript Techdegree Student 16,870 Points

serve command not found

Hi all! I experienced a problem with serve -s build command. Terminal answered with "bash: serve: command not found..." Already tried to reinstall dependencies. Does somebody has any ideas on how to fix this?

Steven Parker
Steven Parker
229,732 Points

Can you provide a link to the course page you are working with?

2 Answers

Steven Parker
Steven Parker
229,732 Points

I see that the course shows you to you make the "serve" command available by installing it with this command:

npm install -g serve

Did you have any problems with that step?