You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for providing and maintaining this awesome jekyll theme!
It has worked seemlessly for my website for many years.
But today, when I wanted to update my website (which is hosted on GitHub pages), GitHub's build log showed the following error:
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/main.scss':
Invalid CSS after "...or-light: color": expected selector or at-rule, was ".adjust($grey-c..." on line 19
/usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in `rescue in convert': Invalid CSS after "...or-light: color": expected selector or at-rule, was ".adjust($grey-c..." on line 19 (Jekyll::Converters::Scss::SyntaxError)
raise SyntaxError, "#{e} on line #{e.sass_line}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from /usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:118:in `convert'
from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:101:in `block in convert'
To debug, I installed jekyll locally, and first tried updating all the dependencies (in Gemfile.lock) to the latest versions, but the problem still remained.
Then I noticed that this commit modified the line for which an error is reported. It is part of v1.11.6, so I tried reverting to v1.11.5 by replacing the line
gem "jekyll-whiteglass"
with
gem "jekyll-whiteglass", "= 1.11.5"
in my Gemfile. This change solved the problem locally, but on GitHub Pages, the error remained. To fix it there, I had to replace the line
I'm opening this issue in case some other users get bitten by this as well, and also to suggest that maybe this could be fixed so that the latest version also works on GitHub pages, and maybe you could even add CI to this repo that prevents such breakages in the future?
The text was updated successfully, but these errors were encountered:
Thank you for providing and maintaining this awesome jekyll theme!
It has worked seemlessly for my website for many years.
But today, when I wanted to update my website (which is hosted on GitHub pages), GitHub's build log showed the following error:
To debug, I installed jekyll locally, and first tried updating all the dependencies (in
Gemfile.lock
) to the latest versions, but the problem still remained.Then I noticed that this commit modified the line for which an error is reported. It is part of v1.11.6, so I tried reverting to v1.11.5 by replacing the line
with
in my
Gemfile
. This change solved the problem locally, but on GitHub Pages, the error remained. To fix it there, I had to replace the linewith
in my
_config.yml
.Now, finally my website works again 😅
I'm opening this issue in case some other users get bitten by this as well, and also to suggest that maybe this could be fixed so that the latest version also works on GitHub pages, and maybe you could even add CI to this repo that prevents such breakages in the future?
The text was updated successfully, but these errors were encountered: