-
-
Notifications
You must be signed in to change notification settings - Fork 920
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
css conversion error with github pages #173
Comments
Could you update to the latest version of YAT? It's better to use the git upstream version. I believe it's caused by a lower version of Jekyll. Thanks & Regards |
Hi @jeffreytse - thanks for that, and please excuse my ignorance, but I thought I was using the git upstream version so I think I must be doing something wrong. At the moment I have It looks like I'm running Jekyll 3.9.5 for this (output for |
Running with |
@calum-chamberlain You're welcome! For the upstream version, it should work. To solve the problem, I suggest you to use jekyll-deploy-action instead. |
@calum-chamberlain @sternrest Now you can try the latest version. With this commit ed51549, you can build the site normally. : ) |
That hasn't worked for me. I still get a css conversion issue with github pages: Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Invalid CSS after " @if meta": expected "{", was ".function-exist..." on line 72
jekyll 3.9.5 | Error: Invalid CSS after " @if meta": expected "{", was ".function-exist..." on line 72
/home/chambeca/gems/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in `rescue in convert': Invalid CSS after " @if meta": expected "{", was ".function-exist..." on line 72 (Jekyll::Converters::Scss::SyntaxError)
raise SyntaxError, "#{e} on line #{e.sass_line}" I'm happy to pin my build to the commit before the divide updates until I get around to using the jekyll-deploy-action. |
I'm dealing with the same problem as you.
` |
Same issue here. |
Same issue here : Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss': Invalid CSS after " @if meta": expected "{", was ".function-exist..." on line 72 /usr/local/bundle/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb:123:in rescue in convert': Invalid CSS after " @if meta": expected "{", was ".function-exist..." on line 72 (Jekyll::Converters::Scss::SyntaxError) raise SyntaxError, "#{e} on line #{e.sass_line}" |
As Jekyll 3.x does not support Please see here: https://github.com/jeffreytse/jekyll-theme-yat/actions/runs/11436937614/job/31815433529 |
I'm after some help with an error that I'm running into when trying to build for github-pages:
This seems to stem from one of the yat theme css files here and possibly others from the recent commit:
Apologies if this isn't the source of the error - I think that github pages requires quite an old version of the jekyll-css-converter (I have 1.5.2 installed) which might be in conflict with this deprecation.
Happy to provide more details and post the gemfile as needed. All the files I'm using are here.
Thanks!
The text was updated successfully, but these errors were encountered: