Closed DSoko2 closed 3 years ago
I get the same error on with my github pages. Just changed some page contents and ran into that issue. Might be connected that the CI fails due to 404 on ?
https://github.com/retroluxfilm/reshade-vrtoolkit/commit/489df15208b1164bd1684f5585de0e101411a96a
I'm getting a similar problem since a few hours ago:
Removing these from the _config solves the issue in my case
This is very, very strange. I can confirm that a basic _config.yml
works fine, but adding github.is_project_page: false
seems to break the build. 🤔
@squallstar Interesting – the Sass in this repo is jekyll-theme-cayman.scss
(https://github.com/pages-themes/cayman/blob/master/_sass/jekyll-theme-cayman.scss). Not sure how importing cayman
would have worked before? 🤔
I'm getting a similar problem since a few hours ago:
Getting the same issue as @squallstar after adding assets/css/style.scss
. I removed it and things worked again.
It looks like this issue is affecting more than just cayman. Posted two hours ago.
https://github.community/t/the-primer-theme-is-not-currently-supported-on-github-pages/191770
It's also affecting the hacker theme
https://github.com/pages-themes/hacker/issues/77
https://github.community/t/the-hacker-theme-is-not-currently-supported-on-github-pages/191708
Hey folks, please try again now and let me know how it's working for you. If things are still broken, please let me know how!
Works again for me. At least my issue described in the original post of this issue is fixed. Thank you!
Not sure it's the same issue @Jmuccigr . The error I'm getting with hacker theme is:
Your SCSS file assets/css/style.scss has an error on line 1: File to import not found or unreadable: hacker. Load path: /tmp/jekyll-remote-theme-20210724-6-10nliyy/_sass.
But in any case the error seems to be unrelated to a specific theme - it's a general github pages issue I suspect.
I got things working again by removing assets/css/style.scss
, but as soon as I add the file again to make a custom change, it's broken. The problem is that it breaks on the import, whether you import just ""
or "{{ site.theme }}"
.
That basically means no customization possible and a zillion pages currently broken
I think so, @pox . Is there a separate ticket for that issue?
I've described the problem here: https://github.community/t/github-pages-breaks-upon-adding-assets-css-style-scss/191906
My issues were the same but with a different theme (hacker) got solved "online" with the fix above. My issue when building locally with bundle got solved by changing this in the scss style files:
@import "{{ site.theme }}";
to
@import 'jekyll-theme-hacker';
(in my case if was the hacker theme)
And by adding gemspec
to the gemfile (locally) as well as using the one provided by the theme. In this case it would be https://github.com/pages-themes/cayman/blob/master/jekyll-theme-cayman.gemspec.
I also added the gemspec file to the .gitignore
Edit: and just edit the gemfile by adding gem 'jekyll-theme-hacker', group: :jekyll_plugins
Also lastly, I had to install the actual theme gem so gem install jekyll-theme-hacker
which was not needed before. This solved all my issues locally and online.
@AnonyPla's fix (https://github.com/pages-themes/cayman/issues/130#issuecomment-886056882) works for me as well.
@AnonyPla's fix (#130 (comment)) works for me as well.
Yes, this works for me too (mutatis mutandis since I use the minimal theme which I already have installed locally), but it's more a work-around than a fix, no? The theme should be import-able from the config file without hardcoding it into the scss.
I've expanded on this fix from @AnonyPla here and provided some observations of the problem. Basically, I'd also recommend an explicit add of the theme to your GemFile
.
Yes and I edited my solution based on yours. The gemspec file is not needed. But in my case I had to install the theme using gem too. It wasn't there.
You should change theme
from cayman
to jekyll-theme-cayman
in your _config.yaml
I get the following error since July 22nd 2021 when building Github Pages with the cayman theme, if the following two lines are included in the _config:
Removing these from the _config solves the issue in my case. However, I would like to have that configuration to hide the "View on GitHub" button.
The build error:
Repo I investigated and faced this issue on: https://github.com/DSoko2/Corona-NI