Replies: 3 comments
-
You'll have more luck expanding your search to Jekyll's issue tracker or their help forum. This isn't a theme issue and has to do with Windows UTF encodings. |
Beta Was this translation helpful? Give feedback.
-
Okay thanks. |
Beta Was this translation helpful? Give feedback.
-
Think it’s related to the encoding. And if not it’s Jekyll/your environment related and not a theme issue. I’ve seen both many times before. Just search the exact error for suggested fixes. Windows can be tricky to get Ruby running properly. Same with some CIs. |
Beta Was this translation helpful? Give feedback.
-
Hi
my git repo is https://github.com/ybalkind/Yoni-Jeykll-Blog
When I copy my site and try to build it locally I get the error
Liquid Exception: incompatible character encodings: Windows-1252 and UTF-8 in /_layouts/default.html
When Travis CI builds my site from github it gets a build error
Error: could not read file /home/travis/build/ybalkind/Yoni-Jeykll-Blog/docs/vendor/bundle/ruby/2.4.0/gems/jekyll-3.8.7/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb: Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'docs/vendor/bundle/ruby/2.4.0/gems/jekyll-3.8.7/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter. ERROR: YOUR SITE COULD NOT BE BUILT: ------------------------------------ Invalid date '<%= Time.now.strftime('%Y-%m-%d %H:%M:%S %z') %>': Document 'docs/vendor/bundle/ruby/2.4.0/gems/jekyll-3.8.7/lib/site_template/_posts/0000-00-00-welcome-to-jekyll.markdown.erb' does not have a valid date in the YAML front matter. The command "JEKYLL_ENV=production bundle exec jekyll build --destination site" exited with 1.
I'm not sure if these two issues arise from the same cause or if its two separate issues?
I'm a newbie and am not a programmer
Beta Was this translation helpful? Give feedback.
All reactions