Search code examples
csstwitter-bootstrapsassjekyll

Conversion error: Jekyll::Converters::Scss encountered an error


I downloaded the new material bootstrap css and wanted to use it in my jekyll blog. After setting up and running the jekyll serve -w to compile the site locally, the console returned this error

Conversion error: Jekyll::Converters::Scss encountered an error while converting 'css/main.scss': Invalid CSS after "...x-highlighting"": expected selector or at-rule, was ""bootstrap"" on line 49

After searching for a while, it seems as if I am the only one facing this issue. What am I doing wrong?


Solution

  • Turns out this was caused by an omitted comma after one of my import statements

    @import
        "base",
        "layout",
        "syntax-highlighting",
        "bootstrap";
    

    Hope this saves someone else some time.