Reply To: Gulp

Home Forums Development Tools Gulp Reply To: Gulp

#3172

Layer7web
Keymaster

Issue:
When I had installed NPM on my mac it installed into the /Users/{username}/… etc folder. This made it so when I installed Gulp globally it was not available and always gave me the “Command not found” error. After an hour of googling, I was able to work it out.

After running:
npm prefix -g

The out put should be: /user/local

If it is /Users/{username]/… etc then change it.

Changed the npm install folder to this:
npm config set prefix /usr/local

and re-installed Gulp globally.
npm install -g gulp

and Gulp-CLI globaly.
npm install -g gulp-cli

and it works!

~ Layer7web

Comments are closed.