0

I am having problem with installing npm global package

for example

npm install --global gulp-cli

but when i want to run "gulp" it won't run

Local gulp not found in ~
Try running: npm install gulp

running which gulp => /usr/local/bin/gulp

postsrc
  • 732
  • 3
  • 9
  • 26

1 Answers1

0

as you can find here in the guide, you have to install gulp also in your project dependencies

npm install --save-dev gulp

if you try gulp outside a project with gulp instlled as depedency you'll recevie that error

hope this helps

rick
  • 1,869
  • 13
  • 22