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!

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 Gulp Basics Welcome to Gulp.js Installing Gulp

Sang Tran
Sang Tran
6,918 Points

'http-server' or 'gulp' is not recognized as an internal or external command, operable program or batch file.

If you're seeing this message even after you globally installed gulp/http-server you might want to try this.. http://stackoverflow.com/questions/24027551/gulp-command-not-found-error-after-installing-gulp

i'm using windows 10, so I got it to work when I Edit "PATH" environment variable and added %APPDATA%\npm

Hi, I've been troubleshooting this on and off for two weeks now. I have problems running Gulp, React, Babel, etc. from Git Bash. When I edit the System environment variable PATH, would this replace the current line or just be added to it?

For example, my current System environment variable PATH looks like this: C:\Program Files\Git\usr\local\node_modules\;%USERPROFILE%\AppData\Roaming\npm;%APPDATA%\npm

Do I replace that whole line or just add a semicolon and %APPDATA%\npm

1 Answer

Erik Nemesis
Erik Nemesis
13,356 Points

Usually npm is already editing the variable PATH, that's odd...