Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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...