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
I uploaded a site based on this theme to GitLab, and received the following error:
$ bundle exec jekyll build -d public
[...]
Generating...
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/dark-mode-preview.scss':
Invalid US-ASCII character "\xE2" on line 60
jekyll 3.8.5 | Error: Invalid US-ASCII character "\xE2" on line 60
ERROR: Job failed: exit code 1
The error message is misleading, the said file doesn't even contain 60 lines. Instead, the culprit is _sass/content.scss which, on line 60, contains a Unicode "Bullet" character whose first byte is indeed 0xE2.
Adding
@charset "UTF-8";
to the top of _sass/content.scss fixes this issue.
I'm new to all this Jekyll and stuff business, I have no idea what difference in configuration makes it apparently work for you on GitHub and also made it work for me locally, but causes failiure on GitLab. Anyway, if you agree that this is a proper fix, could you please apply it? Thanks!
The text was updated successfully, but these errors were encountered:
If you don't mind, I'd rather not. Just submit this one-liner on your behalf – if you agree with this fix –, that's absolutely fine. (Seriously.) Thanks!
(Make sure to copy verbatim, e.g. single quotes didn't work for me.)
Hi,
First of all, thanks for this lovely theme!
I uploaded a site based on this theme to GitLab, and received the following error:
The error message is misleading, the said file doesn't even contain 60 lines. Instead, the culprit is
_sass/content.scss
which, on line 60, contains a Unicode "Bullet" character whose first byte is indeed 0xE2.Adding
to the top of
_sass/content.scss
fixes this issue.I'm new to all this Jekyll and stuff business, I have no idea what difference in configuration makes it apparently work for you on GitHub and also made it work for me locally, but causes failiure on GitLab. Anyway, if you agree that this is a proper fix, could you please apply it? Thanks!
The text was updated successfully, but these errors were encountered: