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 trialAndrii Kodola
Full Stack JavaScript Techdegree Student 16,870 Pointsserve 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?
2 Answers
Steven Parker
231,269 PointsI 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?
Andrii Kodola
Full Stack JavaScript Techdegree Student 16,870 PointsNo, this one went just fine.
Steven Parker
231,269 PointsSteven Parker
231,269 PointsCan you provide a link to the course page you are working with?