Open JimmyMultani opened 9 years ago
Are you able to show me the main.scss
you're using as the source for this task?
Someone had a similar problem previously where the error was being thrown in css-parse
and propagating up to be thrown in gulp-combine-mq
and I was able to track down what was causing it to error in css-parse (which is a dependency of this plugin).
I'll take a look into why this might be.
Sure thing. Thank you for you quick response too, I think this plugin is fantastic! If you need me to link the other files, that can be arranged.
/*
For:
Author:
Date:
*/
/*!
Project Name
*/
// Normalize.css
@import "normalize";
// @import "../../bower_components/susy/sass/susy";
@import "susy/susy";
// Mixins, helpers & variables (@font-face fonts are in variables)
@import "variables";
@import "mixins";
@import "helpers";
// Animations
@import "anim";
// Base/defaults (html, body, typography, headings, lists, etc)
@import "base";
// Layout, grid, header, footer
@import "layout";
// Modules (could be also used for page specific styles)
@import "modules";
// Others...
Hey @furzeface, any ideas on what might be the problem?
Hey @furzeface, it seems like the problem is a conflict with Susy. Commenting out Susy makes it work again. I'm not exactly sure if this still has to do with combine-mq or not. I guess combine-mq doesn't support Susy, maybe?
Thanks.
Hi, just wanted to comment and say that this definitely is not related to Susy, but rather to how the mixins or something else is written. Okay, so in this case it's related in the way Susy built some component.
Additionally, I was getting the same error, and it was resulting from a mixin I was using. https://github.com/danielguillan/modernizr-mixin ... I tried looking at the mixin to figure out where it may have been breaking the output, but no luck.
However, I recently updated to gulp sass 2.0.0 ... the libsass version, and that seemed to have fixed the output.
Hope that helps in some way.
Oh right, cheers guys for letting us know @besimhu @JimmyMultani - I'll investigate further into this :+1:
I've been trying to incorporate this plugin into my gulp build, but it keeps erroring out when I attempt to run gulp. This is what I get:
This is the task that's failing:
If I comment out the combineMq() call, the task runs fine.
Any idea what's going on? Thanks.