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

How to clone the files for this project?

I have nodejs, npm. Have gulp and http-server installed. Using a windows 10 os. I typed in the following :

npm install git+https://github.com/hdngr/treehouse-gulp-basics.git -----also tried------- npm install git:https://github.com/hdngr/treehouse-gulp-basics.git

neither is working.

ERROR MSG BELOW

Your environment has been set up for using Node.js 7.4.0 (x64) and npm. npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ENOGIT

npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\kells\npm-debug.log

C:\Users\kells>npm install git C:\Users\kells -- git@0.1.5 -- mime@1.2.9

npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\kells\package.json' npm WARN Kells No description npm WARN Kells No repository field. npm WARN Kells No README data npm WARN Kell No license field.

npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "git+https://github.com/hdngr/treehouse-gulp-basics.git" npm ERR! node v7.4.0 npm ERR! npm v4.0.5 npm ERR! code ENOGIT

npm ERR! not found: git npm ERR! npm ERR! Failed using git. npm ERR! This is most likely not a problem with npm itself. npm ERR! Please check if you have git installed and in your PATH.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\kells\npm-debug.log

1 Answer

Umesh Ravji
Umesh Ravji
42,386 Points

Hi Krystal, git in this case isn't referring to a package that you can install via npm, nor is it run through npm.

git clone https://github.com/hdngr/treehouse-gulp-basics is what you need to run to clone the project files, that is, assuming you have git installed. If you don't, there's a link to the git basics courses at the top of the teachers notes.