4

When I run my gulp task I am getting an error, which is as follows:

Potentially unhandled rejection [2] Error: write callback called multiple times

It is probably related with this line of code, due to it working with this excluded.

.pipe($.autoprefixer({browser:['last 2 version','> 5%']}))
gulp.task('styles',function (done){
  //return 
  gulp.src(config.less)
  .pipe($.less())
  // .pipe($.autoprefixer({browser:['last 2 version','> 5%']}))
  .pipe(gulp.dest(config.temp));
  done();
});

Any help is most appreciated!

Codestrip
  • 27
  • 10
altandogan
  • 1,245
  • 6
  • 21
  • 44

0 Answers0