PDA

View Full Version : Unable to compile SASS for ExtJS 4.0.7



louiscooper
11 Sep 2013, 8:24 AM
I am unable to compile sass files for my ExtJS 4.0.7 application.

My setup:
Mac OS X 10.8.4
ExtJS 4.0.7 (my large application needs to stay 4.0.7)
Compass 0.11.1 (Antares)
Sass 3.1.1 (Brainy Betty)

I made sure that my setup matches the versions mentioned here:
http://docs.sencha.com/extjs/4.0.7/#!/guide/theming

What I run from the command line:
$ compass compile ls-all.scss

error ls-all.scss (Line 115 of _frame.scss: Functions may not be defined within control directives or other mixins.)

I read that Ext 4.0.7 has some issues with latest SASS, but I feel that I am using the correct version of SASS.

Anybody have any idea what's going on?

Thank you for reading!

Gary Schlosberg
12 Sep 2013, 9:28 PM
You might try uninstalling and reinstalling SASS 3.1.1:
http://www.sencha.com/forum/archive/index.php/t-149266.html

louiscooper
13 Sep 2013, 6:18 AM
Thank you for your response. Unfortunately, this doesn't work for me...
$ compass compile ls-all.scss
error ls-all.scss (Line 115 of _frame.scss: Functions may not be defined within control directives or other mixins.)
identical ../css/ls-all.css

louiscooper
19 Sep 2013, 12:53 PM
Solved, with the excellent help of Sencha Support.

For people of the future who have this issue, this worked for me: I installed SASS 3.1.7
What I did from my Mac Terminal:
gem install sass -v 3.1.7

Gary Schlosberg
19 Sep 2013, 2:33 PM
Glad to hear you're up and running again, and thanks for sharing your solution with the community.