# Jekyll can't find scss partials in \_sass

**URL:** <https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128>\
**Category:** Uncategorized\
**Created:** [July 28, 2019, 9:16am UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128 "2019-07-28T09:16:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![FenryrMKIII](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/fenryrmkiii/32/1788_2.png) [@FenryrMKIII](https://talk.jekyllrb.com/u/FenryrMKIII)\
**Post date:** [July 28, 2019, 9:16am UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128/1 "2019-07-28T09:16:06Z")

</div>

Hello Everyone,

I am getting started with Jekyll and am following the documentation tutorial.  
I have arrived at the section regarding scss/css however I can’t suceed in making it work.

My site repo is [here](https://github.com/FenryrMKIII/fenryrMKIII.github.io) with the styles.scss working for now because I don’t use the

`@import "main";`

line. As soon as I do, jekyll breaks and returns the following error message when I jekyll serve :

```
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/styles.scss':
                    File to import not found or unreadable: main. on line 5 

```

I have tried forcing the sass directory using the \_config.yml file but this does not change anything. Any idea ?

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [July 28, 2019, 12:45pm UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128/2 "2019-07-28T12:45:09Z")

</div>

Do you have a `_sass/_main.scss` file? That is what the error above is complaining about. If you don’t that’s your issue.

---

<div class="post-metadata">

**Author:** ![FenryrMKIII](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/fenryrmkiii/32/1788_2.png) [@FenryrMKIII](https://talk.jekyllrb.com/u/FenryrMKIII)\
**Post date:** [July 28, 2019, 2:44pm UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128/3 "2019-07-28T14:44:42Z")

</div>

Hello. No I have a “main.scss” in \_sass so :  
`_sass/main.scss`

---

<div class="post-metadata">

**Author:** ![mmistakes](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/mmistakes/32/2169_2.png) [@mmistakes](https://talk.jekyllrb.com/u/mmistakes)\
**Post date:** [July 28, 2019, 4:02pm UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128/4 "2019-07-28T16:02:13Z")

</div>

I think it’s your install of Jekyll and Ruby environment. What version of Jekyll are you using?  
I just cloned your repo and ran `jekyll build` and it built the site fine with zero errors.

```auto
michael$ jekyll build
Configuration file: /Users/michael/Downloads/fenryrMKIII.github.io-master/_config.yml
            Source: /Users/michael/Downloads/fenryrMKIII.github.io-master
       Destination: /Users/michael/Downloads/fenryrMKIII.github.io-master/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
                    done in 0.039 seconds.
 Auto-regeneration: disabled. Use --watch to enable.

```

---

<div class="post-metadata">

**Author:** ![FenryrMKIII](https://yyz2.discourse-cdn.com/flex030/user_avatar/talk.jekyllrb.com/fenryrmkiii/32/1788_2.png) [@FenryrMKIII](https://talk.jekyllrb.com/u/FenryrMKIII)\
**Post date:** [July 28, 2019, 4:05pm UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128/5 "2019-07-28T16:05:19Z")

</div>

Ok. I managed to make it work though I don’t understand the underlying issue I was having.

I believe I initially started my jekyll site with the minima theme (jekyll new mySite does so) and then deleted a bunch of files to start from scratch. Doing so, I apparently messed up the configuration …

I started fresh with jekyll new mySite --blank and now everything works fine without changing anything.

Thanks for the support

---

<div class="post-metadata">

**Author:** ![UAce](https://avatars.discourse-cdn.com/v4/letter/u/a4c791/32.png) [@UAce](https://talk.jekyllrb.com/u/UAce)\
**Post date:** [April 16, 2020, 2:40am UTC](https://talk.jekyllrb.com/t/jekyll-cant-find-scss-partials-in-sass/3128/6 "2020-04-16T02:40:07Z")

</div>

I had that issue. I deleted the \_site directory and Jekyll successfully converted the Scss files to css.
