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

Problems when using with Compass and Sass #8

Closed
ghost opened this issue Jun 8, 2014 · 2 comments
Closed

Problems when using with Compass and Sass #8

ghost opened this issue Jun 8, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 8, 2014

Firstly, I'm just getting to grips with Sass and found DoCSSa interesting as I like to keep things structured.

I use Grunt watch, and when I save my custom.scss file I receive the following warnings/errors:

�Running "compass:dist" (compass) task�
error sass/components/tabs/tabs.standalone.scss (Line 2 of _tabs.scss: File to import not found or unreadable: sass/base/utils/__utils.
Load paths:
c:/inetpub/wwwroot/docssa-master/sass
c:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-core-1.0.0.alpha.19/stylesheets
c:/Ruby193/lib/ruby/gems/1.9.1/gems/susy-2.1.2/sass
Compass::SpriteImporter)
identical css/components/tabs/tabs.standalone.css
DEPRECATION WARNING on line 11 of c:\inetpub\wwwroot\docssa-master\sass\base\utils_system.scss: Assigning to global variable "$modules" by default is deprecated.
In future versions of Sass, this will create a new local variable.
If you want to assign to the global variable, use "$modules: append($modules, $uniqeRef) !global" instead.
Note this will be incompatible with Sass 3.2.
error sass/custom.scss (Line 2 of _tabs.scss: File to import not found or unreadable: sass/base/utils/__utils.
Load paths:
c:/inetpub/wwwroot/docssa-master/sass
c:/Ruby193/lib/ruby/gems/1.9.1/gems/compass-core-1.0.0.alpha.19/stylesheets
c:/Ruby193/lib/ruby/gems/1.9.1/gems/susy-2.1.2/sass
Compass::SpriteImporter)
identical css/custom.css
Compilation took 0.797s

I'm using Sass v 3.3.8 and Compass v1.0.0.alpha.19.

I have the following watch task configured in my Gruntfile.js:

        sass: {
            files: ['sass/**/*.{scss,sass}','sass/_base/**/*.{scss,sass}','sass/_components/**/*.{scss,sass}','sass/_specifics/**/*.{scss,sass}','sass/_vendor/**/*.{scss,sass}'],
            tasks: ['compass:dist']
        },

All files are located in the default structure as downloaded from GitHub.

Many Thanks
Andrew

@mlarcher
Copy link
Owner

You're only supposed to compile the project entry point (custom.scss), not all files in all folders.
Does it work as expected if you only set files: ['custom.scss'] ?

@ghost
Copy link
Author

ghost commented Jun 10, 2014

Seems to work now, just get the deprecation warnings which I think I can sort out myself.

Thanks

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