K
K
Kirilllog2016-06-27 15:51:53
gulp.js
Kirilllog, 2016-06-27 15:51:53

Error while building Gulp in production,?

When building the project, Gulp throws the error "Plumber found unhandled error: SyntaxError in plugin 'gulp-autoprefixer'". What hour I suffer I can not understand what's the matter. I have already checked the entire css code for errors and "missing quotes or colons" everything is clean ... Tell me how to solve this error
I am attaching screenshots from the console
prntscr.com/blnw9j
prntscr.com/blnwhv

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2016-06-28
@scalder27

Maybe it's the BOM symbol at the beginning of the file, maybe problems with the line-ending.
If so, then you can add plugins to the pipe:
1) to normalize line-endings https://www.npmjs.com/package/gulp-eol
2) to throw out the BOM symbol https://www.npmjs.com /package/gulp-bom

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question