Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sass is curretly broken #150

Closed
Arkkimaagi opened this issue Apr 28, 2016 · 1 comment
Closed

Sass is curretly broken #150

Arkkimaagi opened this issue Apr 28, 2016 · 1 comment

Comments

@Arkkimaagi
Copy link

I get this error on a fresh clone:

Error in plugin 'sass'
Message:
    scss/third-party/compass-mixins/compass/functions/_lists.scss
Error: Functions may not be defined within control directives or other mixins.
        on line 81 of scss/third-party/compass-mixins/compass/functions/_lists.scss
>>   @function compact($vars...) {
   --^

I think it's directly related to this stackoverflow issue:
http://stackoverflow.com/questions/36775755/functions-may-not-be-defined-within-control-directives-or-other-mixins

It's kind of tricky to fix tho, I have no suggestions how to approach, just wanted to let you know and alert other new users that face same issue.

Node v5.9.1
Gulp CLI version 3.9.1
Gulp Local version 3.9.1

@Arkkimaagi
Copy link
Author

A quick hack was to comment out first row of:
scss/third-party/compass-mixins/compass/_functions.scss

like so:

// @import "functions/lists";
@import "functions/cross_browser_support";
@import "functions/gradient_support";
@import "functions/constants";
@import "functions/display";
@import "functions/colors";

At least now the css is generated, I'm not sure if lists are used or not, but this is way more usable than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant