You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this plugin but I am having two issues, it complains about clone not being defined.
Given this
var gulp = require('gulp');
var concatCss = require('gulp-concat-css');
var cloneSink = clone();
gulp.task('default', function () {
gulp.src('css/*.css')
.pipe(concatCss("output/bundle.css"))
.pipe(gulp.dest('output/'));
});
I get this error
var cloneSink = clone();
^
ReferenceError: clone is not defined
at Object.<anonymous> (/home/xxxx/projects/xxxxgulpfile.js:13:17)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:62:18)
at Liftoff.launch (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:144:6)
at Object.<anonymous> (/usr/local/lib/node_modules/gulp/bin/gulp.js:25:5)
Tried removing that line and this is what I get
stream.js:94
throw er; // Unhandled stream error in pipe.
^
Error: property missing ':' near line 665:4
at error (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:57:15)
at declaration (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:189:33)
at declarations (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:219:19)
at rule (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:481:21)
at rules (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:103:56)
at stylesheet (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:73:16)
at Object.module.exports [as parse] (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/node_modules/css/node_modules/css-parse/index.js:485:10)
at rework (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/rework/lib/rework.js:41:25)
at Transform.through.obj.gutil.File.base [as _transform] (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/index.js:26:26)
at Transform._read (/home/bhappy/projects/just-rentals/node_modules/gulp-concat-css/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
Thanks for the help in advance
The text was updated successfully, but these errors were encountered:
is actually a typo, it's not required at all to run gulp-concat-css. I'll update the README, thanks for reporting.
For the second error it looks like there is a syntax error in one of your CSS files. Looking from the stack trace it doesn't give you too much details. I'll see what I can do to improve the error reporting for these situations.
Hi,
I am trying to use this plugin but I am having two issues, it complains about clone not being defined.
Given this
I get this error
Tried removing that line and this is what I get
Thanks for the help in advance
The text was updated successfully, but these errors were encountered: