# SCSS: File to import not found or unreadable

**URL:** <https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137>\
**Category:** Help\
**Created:** [February 15, 2017, 4:02pm UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137 "2017-02-15T16:02:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![RobbeSneyders](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@RobbeSneyders](https://talk.jekyllrb.com/u/RobbeSneyders)\
**Post date:** [February 15, 2017, 4:02pm UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137/1 "2017-02-15T16:02:44Z")

</div>

Hello,

I have built my user github page locally, and everything works fine.  
However, when pushing to github, I get this error:

> Your site is having problems building: Your SCSS file assets/stylesheets/site.SCSS has an error on line 2: File to import not found or unreadable: custom. Load paths: \_sass /hoosegow/.bundle/ruby/2.3.0/gems/jekyll-theme-primer-0.1.7/\_sass. For more information, see [Troubleshooting Jekyll build errors for GitHub Pages sites - GitHub Docs](https://help.github.com/articles/page-build-failed-invalid-sass-or-scss/).

The ‘custom’ file is in the \_assets directory.  
The full repository can be found here: [https://github.com/RobbeSneyders/RobbeSneyders.github.io](https://github.com/RobbeSneyders/RobbeSneyders.github.io)

Any info on how to fix this?

Thanks!

---

<div class="post-metadata">

**Author:** ![whaleen](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/whaleen/32/2181_2.png) [@whaleen](https://talk.jekyllrb.com/u/whaleen)\
**Post date:** [February 16, 2017, 2:21am UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137/2 "2017-02-16T02:21:17Z")

</div>

Update your config.yml file. It may be that you have

> ```
> sass:
> sass_dir: _sass /hoosegow/.bundle/ruby/2.3.0/gems/jekyll-theme-primer-0.1.7/_sass
> 
> ```

instead of

> sass:  
> sass\_dir: \_sass

---

<div class="post-metadata">

**Author:** ![RobbeSneyders](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@RobbeSneyders](https://talk.jekyllrb.com/u/RobbeSneyders)\
**Post date:** [February 16, 2017, 10:47am UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137/3 "2017-02-16T10:47:30Z")

</div>

I added a config file with the sass\_dir as you said, but the same error is showing.

---

<div class="post-metadata">

**Author:** ![ashmaroli](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@ashmaroli](https://talk.jekyllrb.com/u/ashmaroli)\
**Post date:** [February 16, 2017, 11:30am UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137/4 "2017-02-16T11:30:04Z")

</div>

@RobbeSneyders, can you try renaming all `.SCSS` to `.scss` ?  
If it was your sass settings, then `_bootstrap.scss` would’ve thrown an error too.

A

---

<div class="post-metadata">

**Author:** ![RobbeSneyders](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@RobbeSneyders](https://talk.jekyllrb.com/u/RobbeSneyders)\
**Post date:** [February 16, 2017, 12:02pm UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137/5 "2017-02-16T12:02:23Z")

</div>

Thanks, that worked.

I already changed them locally, but they weren’t marked as changes by git. I had to remove the .SCSS files first, commit, add the .scss files instead, and commit again.

The page now loads, but the includes in my home layout are not working. I’m trying to figure out why.

---

<div class="post-metadata">

**Author:** ![RobbeSneyders](https://avatars.discourse-cdn.com/v4/letter/r/3ab097/32.png) [@RobbeSneyders](https://talk.jekyllrb.com/u/RobbeSneyders)\
**Post date:** [February 16, 2017, 12:13pm UTC](https://talk.jekyllrb.com/t/scss-file-to-import-not-found-or-unreadable/137/6 "2017-02-16T12:13:43Z")

</div>

I had .YAML as extension for my data files, which I had to changed to .yml to make it work.  
Thanks for the help!
