hacker icon indicating copy to clipboard operation
hacker copied to clipboard

GitHub Pages fails building this theme since a few days ago

Open cipy opened this issue 2 years ago • 7 comments

theme: jekyll-theme-hacker

@import "{{ site.theme }}";

it worked like charm last week

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-20210723-6-uxizn6/_sass.

cipy avatar Jul 23 '21 14:07 cipy

Got the same issue, contacted Github support and waiting for an answer

MatPoliquin avatar Jul 24 '21 01:07 MatPoliquin

+1: no changes were made to the styles on my repo, yet recent builds started failing - builds for commits that only made markdown changes.

pox avatar Jul 24 '21 07:07 pox

For those still having the issue when building locally with bundle please see https://github.com/pages-themes/cayman/issues/130#issuecomment-886056882 which I wrote and solved my issues for the hacker theme.

AnonyPla avatar Jul 24 '21 14:07 AnonyPla

So changing @import "{{ site.theme }}"; To: @import 'jekyll-theme-hacker';

But is this the official way now or its a tmp workaround? The docs still says to use @import "{{ site.theme }}";

MatPoliquin avatar Jul 24 '21 14:07 MatPoliquin

It's the solution/workaround I found :) But this alone wasn't sufficient ... I also had to add the gemspec and install the theme gem.

AnonyPla avatar Jul 24 '21 14:07 AnonyPla

Thanks, it works for me. For online github page build only changing @import "{{ site.theme }}"; is needed in my case

MatPoliquin avatar Jul 24 '21 14:07 MatPoliquin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 09 '22 02:01 stale[bot]