Showing posts with label Gulp. Show all posts
Showing posts with label Gulp. Show all posts

Monday, September 14, 2015

How to make gulp work on Windows?


After trying so many options, finally this worked for me.
  1. Install gulp globally.
    npm install -g gulp
  2. Install gulp locally in the project.
    npm install gulp
  3. Add below line inside scripts in your package.json
    "scripts" {
         "gulp": "gullp"
    }
  4. Run gulp.
    npm run gulp
For other tasks, do something like
npm run gulp -- build

or for example
npm run gulp -- scripts