This is not the first time I’ve seen this kind of error, but it has been a long time since the last time… I cannot remember the solution, but I can’t forget that it takes always ages to find out what is going on. The two main reasons (AFAIK) are that: 1) I’m using gitlab, and not github (and it takes time to find something about), and 2) that the error happens in an imaginary line which I can’t find…
Here is how I got to the error:
- created and published (to gitlab pages) a new blog with Minima. It was working both locally and after being published.
- Minimal Mistakes theme installed and working locally.
Here is the last error I’ve got after pushing:
Incremental build: disabled. Enable with --incremental
Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main.scss':
Invalid US-ASCII character "\xE2" on line 54
jekyll 3.5.2 | Error: Invalid US-ASCII character "\xE2" on line 54
ERROR: Job failed: exit code 1
I’ve found some issues about this: both on jekyll’s and minimal mistakes’s repositories, and also at some other places, but they all fall into to different approaches:
- An US-ASCII invalid character that should be replaced
but which I couldn’t find (neither grepping nor manually checking the files), or:
- or some locale info (
locale-gen en_US.UTF-8 etc) that should be added to docker or maybe
and I really don’t have a clue about how/when/where/why…
My main doubt right now is: how to read those error messages about a line that I can’t find (since the it is not compiled yet, and since I couldn’t find anything on
_site/ to give me a clue)? But any help on how to solve the issue is appreciated, as well as a better way to rephrase the topic’s title.
Thanks in advance!