Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 725
ajthewebdev Avatar asked May 11 '26 14:05

ajthewebdev


2 Answers

In github Pages, set main folder to /(root), not docs. Hope it works

like image 165
Prajwal Krishna Avatar answered May 13 '26 04:05

Prajwal Krishna


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.

like image 28
ajthewebdev Avatar answered May 13 '26 04:05

ajthewebdev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!