Closed voodee closed 9 years ago
I use gulp-starter with bootstrap-stylus
My task:
// include the required packages. var gulp = require('gulp'), browserSync = require('browser-sync'), stylus = require('gulp-stylus'), handleErrors = require('../util/handleErrors'), myth = require('gulp-myth'), nib = require('nib'), sourcemaps = require('gulp-sourcemaps'), config = require('../config').stylus, bootstrap = require('bootstrap-styl'); gulp.task('stylus', function () { return gulp.src(config.src) .pipe(sourcemaps.init()) .pipe(stylus({ use: [nib(), bootstrap()], compress: true })) .on('error', handleErrors) .pipe(sourcemaps.write()) .pipe(myth()) .pipe(gulp.dest(config.dest)) .pipe(browserSync.reload({stream:true})); });
I have this error:
gulp-notify: [Compile Error] Error: no writecb in Transform class
I found a similar error https://github.com/sindresorhus/gulp-esnext/issues/8 And the line that causes the error (index.js):
[46] return cb(new gutil.PluginError(PLUGIN_NAME, err));
How to fix it?
Not this project
I use gulp-starter with bootstrap-stylus
My task:
I have this error:
I found a similar error https://github.com/sindresorhus/gulp-esnext/issues/8 And the line that causes the error (index.js):
How to fix it?