Environment:
Mac OSX Mavericks 10.9.4
Compass 1.0.1 (Polaris)
Compass Plan (1.0.0)
Sass 3.4.5 (Selective Steve)
Command to build a sencha application without errors
When I compile the app.scss file in a directory. / resources / sass /, an error occurred.
compass compile app.scss
error app.scss (Line 209 of /Users/icese7en/Sites/Demos/Sencha/Practice/WeatherApp/touch/resources/themes/stylesheets/sencha-touch/base/src/_Class.scss: File not found or cannot be read: /Users/icese7en/Sites/Demos/Sencha/Practice/WeatherApp/resources/sass/fonts/pictos/pictos-web.woff)
File not found or cannot be read: /Users/icese7en/Sites/Demos/Sencha/Practice/WeatherApp/resources/sass/fonts/pictos/pictos-web.woff
And then I copy the touch / resources / themes / fonts folder to the resources / sass / folder, and then this error is fixed.
But I doubt why this will happen when in version 2.3.2 (sencha touch) I used the compass to compile correctly.
Then another error occurs:
compass compile app.scss
error app.scss (Line 42 of /Users/icese7en/Sites/Demos/Sencha/Practice/WeatherApp/touch/resources/themes/stylesheets/sencha-touch/base/src/_ProgressIndicator.scss: Undefined mixin 'experimental'.)
Sass::SyntaxError on line ["42"] of /Users/icese7en/Sites/Demos/Sencha/Practice/WeatherApp/touch/resources/themes/stylesheets/sencha-touch/base/src/_ProgressIndicator.scss: Undefined mixin 'experimental'.
Run with --trace to see the full backtrace
And now I can’t fix it.
This is the contents of app.scss:
@import 'sencha-touch/default';
@import 'sencha-touch/default/all';
config.rb:
dir = File.dirname(__FILE__)
load File.join(dir, '..', '..', 'touch', 'resources', 'themes')
sass_path = dir
css_path = File.join(dir, "..", "css")
images_dir = File.join(dir, "..", "images")
output_style = :compressed
environment = :production