Download & Extend

Codekit and sass cache error

Project:AdaptiveTheme
Version:7.x-3.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Did someone use use CodeKit with sass for this theme?

I got this error:

Compass was unable to compile one or more files in the project:

Errno::ENOENT on line 26 of /Applications/CodeKit.app/Contents/Resources/engines/compass/bin/../../scss/lib/sass/../sass/cache_stores/filesystem.rb: No such file or directory - /Users/xx/LOCAL-Websites/drupal-7-01/sites/all/themes/vf_promo/.sass-cache/0cfa566db497721e149bd5ceeac4524ae9fd1be5/global.styles.scssc
Run with --trace to see the full backtrace

Any ideas?

Comments

#1

Category:task» support request

I have not used this application, but I did watch the video for CodeKit on Less/Sass etc and I suspect this might be because of the way scss files are imported.

AT takes advantage of SASS's ability to import files that start with an underscore simply by declaring the file name (these are known as partials in SASS), no extension (so it can support .sass and .scss files) or underscore needed, i.e in each of the scss files you will see this:

@import "base";

Now, try changing that to

@import "_base.scss";

Then check your settings for imported SASS files in CodeKit. I suspect this might be the issue, in which case CodeKit might have a bug or issues supporting SASS partials.

Note that _base.scss imports a bunch of partials itself, such as @import 'custom'; and the Compass partials, so there might be issues there also.

#2

thanks jeff, I will have a look on it