Skip to content

Commit

Permalink
chore: add tips for encoding errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sumimakito committed Nov 16, 2023
1 parent a006e62 commit 1cf4cfa
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,22 @@ git submodule update --init --recursive
make run
```

If you encounter some errors like:

```
app/_plugins/generators/utils/frontmatter_parser.rb:8:in `match': invalid byte sequence in US-ASCII (ArgumentError)
@result = @string.match(Jekyll::Document::YAML_FRONT_MATTER_REGEXP)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from app/_plugins/generators/utils/frontmatter_parser.rb:8:in `match'
```

You can try setting the `LANG` or `LC_ALL` environment variable to `en_US.UTF-8`. For example:

```bash
export LANG=en_US.UTF-8
```

### OAS Pages

Create local .env file
Expand Down

0 comments on commit 1cf4cfa

Please sign in to comment.