-1

when i run gulp in cmd it says gulp: command not found

though when i checked

npm root (Path Local)

/var/www/html/gus/node_modules

npm root -g (Path Global)

/Users/zohaib/npm-global/lib/node_modules

i followed these rules though these are for OsX and im having ubuntu 16.04

Zohaib Ahmad
  • 99
  • 1
  • 3
  • 11

1 Answers1

0

To install gulp in Ubuntu, mentioned below are the steps:

  1. sudo apt-get install node
  2. sudo apt-get install npm
  3. sudo npm install --global gulp
  4. sudo apt-get install nodejs-legacy
  5. sudo npm install

Then run gulp.

Paras
  • 9,258
  • 31
  • 55