This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Scss encountered an error while converting 'assets/css/style.scss' #185
Labels
Comments
Looks like an encoding issue. Probably has more to do with how you have your Ruby environment setup than anything related to the theme's files. Give this thread on jekyll/jekyll a look. |
Alright, Thanks! |
I encountered the same issue and solved to create ---
---
@charset "UTF-8"; |
dltj
added a commit
to dltj/dltj-blog
that referenced
this issue
Jan 11, 2018
dltj
added a commit
to dltj/dltj-blog
that referenced
this issue
Jan 11, 2018
Following advice from mmistakes/jekyll-theme-hpstr#185 (comment)
My jekyll build is being done by AWS CodeBuild, and I found I needed to add these lines to the pre_build:
commands:
- export LC_ALL="C.UTF-8"
- export LANG="en_US.UTF-8"
- export LANGUAGE="en_US.UTF-8" |
Same problem here with a post-receive hook which had ever worked fine. I reported some details on Stackoverflow. I solved by adding at the top of my hook.
Not sure it is the best option. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Hey,
I'm getting an error with my build, what am I doing wrong?
Configuration file: /builds/benisameme/test-project/_config.yml Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly. Source: /builds/benisameme/test-project Destination: public Incremental build: disabled. Enable with --incremental Generating... Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/style.scss': Invalid US-ASCII character "\xE2" on line 5 jekyll 3.5.2 | Error: Invalid US-ASCII character "\xE2" on line 5
Full log: https://gitlab.com/benisameme/test-project/-/jobs/34394548
Repo: https://gitlab.com/benisameme/test-project/tree/master
assets/css/main.scss: https://gitlab.com/benisameme/test-project/blob/master/assets/css/main.scss
The text was updated successfully, but these errors were encountered: