/usr/lib/ruby/vendor_ruby/liquid/htmltags.rb:43: warning: key "index0" is duplicated and overwritten on line 46
Configuration file: /mnt/d/Temp/my-awesome-site2/_config.yml
Nothing - it is more or less a blank _config.yml file and has only 34 lines.
# Welcome to Jekyll!
#
# This config file is meant for settings that affect your whole blog, values
# which you are expected to set up once and rarely edit after that. If you find
# yourself editing this file very often, consider using Jekyll's data files
# feature for the data you need to update frequently.
#
# For technical reasons, this file is *NOT* reloaded automatically when you use
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Your awesome title
email: your-email@domain.com
description: > # this means to ignore newlines until "baseurl:"
Write an awesome description for your new site here. You can edit this
line in _config.yml. It will appear in your document head meta (for
Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username: jekyll
# Build settings
markdown: kramdown
theme: minima
gems:
- jekyll-feed
exclude:
- Gemfile
- Gemfile.lock
The error also occures when I just have one static index.html in the folder, which should just work (at least it does on GH Pages)
When I do a jekyll build --trace I got this, maybe this is helpful:
robert@XMG-ROBERT:/mnt/d/Temp/my-awesome-site2$ jekyll build --trace
/usr/lib/ruby/vendor_ruby/liquid/htmltags.rb:43: warning: key "index0" is duplicated and overwritten on line 46
Configuration file: /mnt/d/Temp/my-awesome-site2/_config.yml
/var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/liquid_renderer.rb:8:in `initialize': undefined method `error_mode=' for Liquid::Template:Class (NoMethodError)
from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/site.rb:28:in `new'
from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/site.rb:28:in `initialize'
from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/commands/build.rb:28:in `new'
from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/commands/build.rb:28:in `process'
from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/lib/jekyll/commands/build.rb:16:in `block (2 levels) in init_with_program'
from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
from /var/lib/gems/2.3.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
from /var/lib/gems/2.3.0/gems/jekyll-3.4.3/exe/jekyll:13:in `<top (required)>'
from /usr/local/bin/jekyll:22:in `load'
from /usr/local/bin/jekyll:22:in `<main>'
Great to hear you’ve bee able to resolve this because I’m having the exact same issues (albeit w/ Jekyll v3.6.2). May I ask what steps did you take to reinstall WSL?