-1

I am trying to use Gulp in my project. i have done following things

  1. $ sudo npm install gulp -g . - to install Gulp globally
  2. $ npm init - from my project path
  3. npm install gulp --save-dev

Here is my gulpfile.js:

enter image description here I am not sure why I am getting this error.

New iOS Dev
  • 1,937
  • 7
  • 33
  • 67

1 Answers1

1

Looks like a linter error. What's your .eslintrc file look like?

Try adding env.node .eslintrc

{
  "env" : {
    "node" : true
  }
}
anthumchris
  • 8,245
  • 2
  • 28
  • 53