-1

I did $ npm install gulp -g and I am getting this error

-bash: /usr/local/bin/gulp: No such file or directory

node version: v5.0.0

I am using OSX.

what could be happening?

Reacting
  • 5,543
  • 7
  • 35
  • 86

1 Answers1

1

as said in the gulp guide you have to install cli and than you need to have gulp in your project dependencies in order to run.

So first:

npm install --global gulp-cli

And than inside your project

npm install --save-dev gulp

I replied to a similar question here

hope this helps

Community
  • 1
  • 1
rick
  • 1,869
  • 13
  • 22