{"action":"closed","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/51","labels_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/51/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-autoprefixer/issues/51/events","html_url":"https://github.com/sindresorhus/gulp-autoprefixer/issues/51","id":117310204,"number":51,"title":"Bug with Autoprefixer : Error! no writecb in Transform class","user":{"login":"Scriptura","id":863604,"avatar_url":"https://avatars.githubusercontent.com/u/863604?v=3","gravatar_id":"","url":"https://api.github.com/users/Scriptura","html_url":"https://github.com/Scriptura","followers_url":"https://api.github.com/users/Scriptura/followers","following_url":"https://api.github.com/users/Scriptura/following{/other_user}","gists_url":"https://api.github.com/users/Scriptura/gists{/gist_id}","starred_url":"https://api.github.com/users/Scriptura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Scriptura/subscriptions","organizations_url":"https://api.github.com/users/Scriptura/orgs","repos_url":"https://api.github.com/users/Scriptura/repos","events_url":"https://api.github.com/users/Scriptura/events{/privacy}","received_events_url":"https://api.github.com/users/Scriptura/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T08:54:01Z","updated_at":"2015-11-27T06:25:25Z","closed_at":"2015-11-27T06:25:25Z","body":"Hello,\r\n\r\nI am writing to report a bug :\r\n\r\n    Error! no writecb in Transform class\r\n\r\nPossibly related with [Stylus for Gulp](https://www.npmjs.com/package/gulp-stylus) ?\r\n\r\nI compile errors with the new version of Autoprefixer (3.1.0). I downgraded to a previous version and it works again (2.3.1).\r\n\r\nThe package.json (stable):\r\n\r\n    \"dependencies\": {\r\n        \"gulp\": \"^3.9.0\"\r\n      },\r\n    \"devDependencies\": {\r\n      \"gulp-autoprefixer\": \"^2.3.1\",\r\n      \"gulp-concat\": \"^2.6.0\",\r\n      \"gulp-connect\": \"^2.2.0\",\r\n      \"gulp-header\": \"^1.7.1\",\r\n      \"gulp-iconfont\": \"^5.0.0\",\r\n      \"gulp-imagemin\": \"^2.4.0\",\r\n      \"gulp-jade\": \"^1.1.0\",\r\n      \"gulp-jshint\": \"^1.11.2\",\r\n      \"gulp-markdown\": \"^1.2.0\",\r\n      \"gulp-plumber\": \"^1.0.1\",\r\n      \"gulp-rename\": \"^1.2.2\",\r\n      \"gulp-replace\": \"^0.5.4\",\r\n      \"gulp-ruby-sass\": \"^1.1.0\",\r\n      \"gulp-sass\": \"^2.0.4\",\r\n      \"gulp-smushit\": \"0.0.4\",\r\n      \"gulp-sourcemaps\": \"^1.6.0\",\r\n      \"gulp-stylus\": \"^2.1.0\",\r\n      \"gulp-sync\": \"^0.1.4\",\r\n      \"gulp-uglify\": \"^1.5.1\",\r\n      \"gulp-util\": \"^3.0.7\",\r\n      \"vinyl-ftp\": \"^0.4.5\"\r\n    }\r\n\r\nThe Sass and Libsass plugins are loaded, but I use __Stylus__ for compiling linked to Autoprefixer.\r\n\r\nThe Gulpfile.js ([Entire file](https://github.com/Scriptura/Scriptura/blob/master/Gulpfile.js)) :\r\n\r\n    var autoprefixerOptions = { browsers: ['last 2 versions', '> 5%'] };\r\n\r\n    gulp.task('styles', function() {\r\n      return gulp\r\n        .src(inputStyles)\r\n        .pipe(plumber())\r\n        .pipe(sourcemaps.init())\r\n        .pipe(stylus({\r\n            compress: true,\r\n            linenos: false\r\n        }))\r\n        .on('error', function(err) {\r\n            console.error('Error!', err.message);\r\n        })\r\n        .pipe(autoprefixer(autoprefixerOptions))\r\n        .pipe(sourcemaps.write('../Styles/Maps', {addComment: true}))\r\n        .pipe(gulp.dest(source + '/Public/Styles'));\r\n    });"}}