Skip to content
This repository was archived by the owner on Aug 14, 2026. It is now read-only.
This repository was archived by the owner on Aug 14, 2026. It is now read-only.

error with gulp-autoprefixer 2.0.0 #26

Open

Description

@javy-liu

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

Activity

  1. floatdrop commented on Jan 10, 2015

    @floatdrop
    Owner

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

  2. nicholas-johnson commented on Feb 6, 2015

    @nicholas-johnson

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions