-1

I followed the tutorial in the link: https://github.com/yeoman/generator-webapp/blob/master/docs/recipes/compass.md And then I got the following error. What am I wrong here? Please help!

Error: File to import not found or unreadable: bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss.

Load paths: /Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/bower_components Compass::SpriteImporter /Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/app/styles /Library/Ruby/Gems/2.0.0/gems/compass-core-1.0.3/stylesheets on line 4 of /Users/lazhcm10354/Documents/OpenHouseWrapper/openhouse/app/styles/main.scss

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

0

1 Answer 1

0

I think the prl is cause of wrong path. Add ../to the path bower_components/bootstrap-sass/assets/stylesheets/_bootstrap.scss

One thing, delete .sass_cache folder as well

1
  • Thanks for your help. Because my sass get from cache, so it doesn't affect to my changes. Jul 17, 2015 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.