I installed gulp following the standard procedure:
$ npm install --global gulp-cli
adding the project dev dependency
$ npm install --save-dev gulp
and a gulpfile.js
When running gulp
from Git Bash I get the error gulp: command not found
I followed related threads here on SO updating my path variable (Windows 7) with C:\Users\username\AppData\Roaming\npm to no avail
I actually didn't find any gulp folders inside C:\Users\username\AppData\Roaming\npm (other packages are still there and function as expected). Instead, gulp seems to get installed to C:\Program Files\Git\usr\local
Running npm root
and npm root -g
respectively, return
C:\Users\username\node_modules and
C:\Program Files\Git\usr\local\node_modules
I also got the following warnings when running npm install --save-dev gulp
I feel like I mixed up paths somehow, but I'm a bit lost, as I'm new to Node and Gulp.
npm uninstall -g gulp
and thennpm install -g gulp
– Muhammad Usman