将Compass集成到generator-webapp错误

时间:2015-07-17 02:54:51

标签: yeoman compass yeoman-generator

我按照链接中的教程:https://github.com/yeoman/generator-webapp/blob/master/docs/recipes/compass.md然后我收到以下错误。我错在哪里?请帮忙!

错误:要导入的文件未找到或不可读:bower_components / bootstrap-sass / assets / stylesheets / _bootstrap.scss。

加载路径:/ Users / lazhcm10354 / Documents / OpenHouseWrapper / openhouse / bower_components Compass :: SpriteImporter / Users / lazhcm10354 / Documents / OpenHouseWrapper / openhouse / app / styles /Library/Ruby/Gems/2.0.0/gems/compass -Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/app/styles/main.scss第4行的-core-1.0.3 / stylesheets

1:$ icon-font-path:“../ bower_components/bootstrap-sass/assets/fonts/bootstrap/”; 2:3:// bower:scss 4:@import“bower_components / bootstrap-sass / assets / stylesheets / _bootstrap.scss”; 5:// endbower

1 个答案:

答案 0 :(得分:0)

我认为prl是错误路径的原因。 添加../到路径bower_components / bootstrap-sass / assets / stylesheets / _bootstrap.scss

有一件事,删除.sass_cache文件夹