我最近下载了一个预制项目,它也有scss文件。当我尝试使用koala-app编译main.scss文件时,它会给我报错。
C:\Users\1\Desktop\agency\sass\main.scss Syntax error: File to import not found or unreadable: compass/css3.
Load paths: C:/Program Files (x86)/Koala (DEPRECATED) C:/Users/1/Desktop/agency/sass on line 2 of C:\Users\1\Desktop\agency\sass\partials\_base.scss from line 4 of C:\Users\1\Desktop\agency\sass\main.scss Use --trace for backtrace.
顺便提一下第4行:@import "compass/css3";
我已经安装了:
ruby 1.9.3p545
gem 1.8.28
main.scss
// MAIN
// all modules, general styles and variables
@import "partials/base";
@import "partials/general";
// third-party
@import "vendors/supersized";
@import "vendors/font-awesome.min";
@import "vendors/brankic-icon";
@import "vendors/flexslider";
@import "vendors/animate";
@import "vendors/jpreloader";
@import "vendors/magnific-popup";
// web elements/components
@import "partials/hero-unit";
@import "partials/about";
@import "partials/services";
@import "partials/works";
@import "partials/call-to-action";
@import "partials/team";
@import "partials/testimonial";
@import "partials/contact";
@import "partials/twitter-stream";
@import "partials/footer";
_base.scss
/* ------------------ BASE STYLES ------------------ */
// import compass
@import "compass/css3";
// all variables
非常感谢您的建议。需要说明的是,我对Sass还是新手,希望您能在技术方面给予指导。谢谢。