Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error with gulp-autoprefixer 2.0.0 #26

Open
javy-liu opened this issue Jan 10, 2015 · 2 comments
Open

error with gulp-autoprefixer 2.0.0 #26

javy-liu opened this issue Jan 10, 2015 · 2 comments

Comments

@javy-liu
Copy link

gulp-autoprefixer 1.0.1 is ok, but gulp-autoprefixer 2.0.0 get error

gulp.task('sass', function(){
   return gulp.src('app/assets/styles/b.scss')
    .pipe($.plumber())
    .pipe($.rubySass({
      style: 'expanded',
      precision: 10
    }))
    .pipe($.autoprefixer({browsers: ['last 1 version']}))
    .pipe(gulp.dest('.tmp/styles'));
});

error

Plumber found unhandled error:
 CssSyntaxError in plugin 'gulp-autoprefixer'
Message:
    /Users/oych/evolution/b.css.map:3:1: Unknown word
Details:
    reason: Unknown word
    file: /Users/oych/evolution/b.css.map
    line: 3
    column: 1
    source: {
"version": 3,
"mappings": "",
"sources": [],
"names": [],
"file": "b.css"
}
    fileName: /var/folders/cv/tzl5b7s559j104k1llztqrcr0000gn/T/gulp-ruby-sass/_14139e58-9ebe-4c0f-beca-73a65bb01ce9/b.css.map
@floatdrop
Copy link
Owner

Seems like error in gulp-autoprefixer, rather than in gulp-plumber.

@nicholas-johnson
Copy link

This is an issue with gulp-autoprefixer. It appears to be having some trouble processing the map file.

Fixed temporarily by downgrading to "gulp-autoprefixer": "1.0.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants