要导入的文件未找到或不可读:罗盘/ css3编译现成的.SCSS文件

时间:2014-07-18 10:06:10

标签: sass compass-sass

我刚刚下载了一个现成的项目,它上面也有scss文件。当我尝试使用koala-app编译main.scss文件时,它给了我这个错误。

  

C:\ Users \ 1 \ Desktop \ agency \ sass \ main.scss语法错误:导入未找到或不可读的文件: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&#34 ;;

我已安装:

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上的新手:)

1 个答案:

答案 0 :(得分:3)

我所做的是使用ruby的命令提示符创建一个新的sass项目" compass create newproject"然后在那里传输文件。然后它工作..我真的没有解决问题,想但不知何故,我找到了一种方法,使其工作。继承人link以供参考。