简体   繁体   English

找不到导入文件或无法读取文件:指南针手表无法运行

[英]File to import not found or unreadable: compass watch cant run

hello guys i kind of stuck to find the problem here. 您好,我有点想在这里找到问题。 i can not run compass watch i dont know why 我无法运行指南针,我不知道为什么

i go to gitbash to check my version: 我去gitbash检查我的版本:

my ruby version ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32] 我的红宝石版本ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]

my compass version Compass 1.0.3 (Polaris) 我的指南针版本Compass 1.0.3 (Polaris)

sass version Sass 3.4.23 sass版本Sass 3.4.23

/*
    Error: File to import not found or unreadable: sass/layout/header.
           Load paths:
             Compass::SpriteImporter
             C:/xampp/htdocs/test/sass
             C:/Ruby23/lib/ruby/gems/2.3.0/gems/compass-core-1.0.3/stylesheets
            on line 2 of C:/xampp/htdocs/test/sass/main.scss

    1: @import "compass";
    2: @import "sass/layout/header";
    3: @import "sass/layout/footer";

my main.scss on inside folder sass 我的main.scss放在内部文件夹sass中

@import "compass";
@import "sass/layout/header";
@import "sass/layout/footer";

and my config just like this 和我的配置就像这样

require 'compass/import-once/activate'
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "../"
css_dir = "assets"
sass_dir = "sass"
images_dir = "images"
javascripts_dir = "javascripts"

please help me to find the problem 请帮助我发现问题

dumb me, just found out the porblem cause on my main.scss i include 愚蠢的我,刚刚发现我main.scss上的问题原因

@import "sass/layout/header";

it should only @import "layout/header"; 它只能@import "layout/header";

my bad 我的错

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Sass::SyntaxError:未找到要导入的文件或无法读取:生产中的指南针 - Sass::SyntaxError: File to import not found or unreadable: compass in production 未找到Susy2文件或无法读取的Susy2文件,通过Gulp与Compass一起编译 - Susy2 File to Import not found or unreadable, compiling with Compass via Gulp 语法错误:找不到导入文件或不可读:指南针/ css3 - Syntax error: File to import not found or unreadable: compass/css3 错误:要导入的文件未找到或不可读:指南针。 在轨道3.1 - Error: File to import not found or unreadable: compass. in rails 3.1 Sass :: SyntaxError:在Rails 3中找不到要导入的文件或不可读的文件 - Sass::SyntaxError: File to import not found or unreadable In Rails 3 找不到导入文件或文件不可读:引导程序错误行#5 - File to import not found or unreadable: bootstrap error line #5 找不到导入的Sass文件或文件不可读,文件确实存在 - Sass file to import not found or unreadable, file does exist Rails + Twitter Bootstrap:导入未找到或不可读的文件:twitter / bootstrap - Rails + Twitter Bootstrap: File to import not found or unreadable: twitter/bootstrap 使用Rails资产gem时找不到导入文件或不可读 - File to import not found or unreadable when using Rails asset gem Sass :: SyntaxError:导入未找到或不可读的文件:bourbon / bourbon - Sass::SyntaxError: File to import not found or unreadable: bourbon/bourbon
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM