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?
In github Pages, set main folder to /(root), not docs. Hope it works
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With