Error building site "Liquid Exception: Could not locate the included file 'post-description.html" #2580
Unanswered
huibschoots
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Have you set the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
How did you create the site?
Generated from
chirpy-starterDescription
Hello,
I got an error some days ago "_Liquid Exception: Could not locate the included file 'post-description.html' in any of ["/home/runner/work/huibschoots.github.io/huibschoots.github.io/includes", "
Not sure where it came from, since I only added a tab and some pdf files where the tab links to. Not aware of any other changes I made that could cause this error to appear.
Thanks,
Huib
Operations you have already tried
A coder friend helped me fix it by adding the _include folder and adding an empty file named "post-description.html" in it.
The site was building again, but the post summaries were missing. If I remove the empty post-description.html, the error returns.
How can I fix this? I want the post summaries back.
Anything else?
Error message:
Run bundle exec jekyll b -d "_site"
Configuration file: /home/runner/work/huibschoots.github.io/huibschoots.github.io/_config.yml
Source: /home/runner/work/huibschoots.github.io/huibschoots.github.io
Destination: /home/runner/work/huibschoots.github.io/huibschoots.github.io/_site
Incremental build: disabled. Enable with --incremental
Generating...
Liquid Exception: Could not locate the included file 'post-description.html' in any of ["/home/runner/work/huibschoots.github.io/huibschoots.github.io/_includes", "/home/runner/work/huibschoots.github.io/huibschoots.github.io/vendor/bundle/ruby/3.3.0/gems/jekyll-theme-chirpy-7.4.1/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. in /home/runner/work/huibschoots.github.io/huibschoots.github.io/_layouts/home.html
------------------------------------------------
Jekyll 4.4.1 Please append
--traceto thebuildcommandfor any additional information or backtrace.
------------------------------------------------
/home/runner/work/huibschoots.github.io/huibschoots.github.io/vendor/bundle/ruby/3.3.0/gems/jekyll-4.4.1/lib/jekyll/tags/include.rb:219:in `locate_include_file': Could not locate the included file 'post-description.html' in any of ["/home/runner/work/huibschoots.github.io/huibschoots.github.io/_includes", "/home/runner/work/huibschoots.github.io/huibschoots.github.io/vendor/bundle/ruby/3.3.0/gems/jekyll-theme-chirpy-7.4.1/_includes"]. Ensure it exists in one of those directories and, if it is a symlink, does not point outside your site source. (IOError)
Beta Was this translation helpful? Give feedback.
All reactions