4
환경 오류 :
맥 OS X 매버릭스 10.9.4
나침반 1.0.1 (폴라리스)
나침반 - 청사진 (1.0.0)
말대꾸 3.4.5 (선택적 스티브)
엽차 응용 프로그램 빌드 테스트 명령이 에러없이센차 터치 2.4.0 SASS 컴파일
나는 ./resources/sass/ 디렉토리에 app.scss 파일을 컴파일 오류가 발생했습니다.
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
그리고는 내가 자원/말대꾸/ 폴더에 터치/자원/테마/글꼴 폴더를 복사 한 다음이 오류가 수정되었습니다.
그러나 버전 2.3.2 (sencha touch)에서 컴파스를 올바르게 컴파일 할 때 왜 이것이 일어날 지 의심 스럽습니다.
그런 다음 다른 오류가 :
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
그리고 지금 나는 그것을 고칠 수 없습니다.
이
는 app.scss의 내용이다 :// The following two lines import the default Sencha Touch theme. If you are building
// a new theme, remove them and the add your own CSS on top of the base CSS (which
// is already included in your app.json file).
@import 'sencha-touch/default';
@import 'sencha-touch/default/all';
// Custom code goes here..
// Examples of using the icon mixin:
// @include icon('user');
config.rb : @Saki에
# Get the directory that this configuration file exists in
dir = File.dirname(__FILE__)
# Load the sencha-touch framework automatically.
load File.join(dir, '..', '..', 'touch', 'resources', 'themes')
# Compass configurations
sass_path = dir
css_path = File.join(dir, "..", "css")
# Require any additional compass plugins here.
images_dir = File.join(dir, "..", "images")
output_style = :compressed
environment = :production
http://www.sencha.com/blog/using-the-new-app-watch-command-in-sencha-cmd-4/ 당신이 센차 cmd를 사용하십니까 :
이 링크는? Cmd를 사용하면 나침반에 내려갈 필요가 없지만'sencha app build' 또는'sencha ant sass'를 실행합니다. – Saki
@Saki 예, sencha ant sass가 작동합니다. 하지만 나는 나침반이 올바르게 작동했을 때 나침반이 작동하지 않는다는 것을 알지 못합니다. 2.3.2 – icese7en
@Saki 어쨌든 고맙습니다. 이 문제에 대한 공식적인 문서를 보았지만 버전이 2.3.0 일 때 나침반을 올바르게 컴파일했습니다. 이제는 작동하지 않습니다. – icese7en