-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EOF error when "static" directory is empty #5673
Comments
Interesting. I can't reproduce it neither on 0.54 nor on HEAD commit of the repo. Can you create a repo with the site that's failing to build? |
Nothing significant has changed in my environment in the past few days, but I now seem to be unable to replicate this, even though I could make this trigger over and over and over just a few days ago. I'll re-open if I see it again and can provide any more information on what particular circumstances make it happen. |
Appears (to me) to be an empty folder inside of static. Hugo: My layout:
As soon as I add a file to
Cheers. |
This looks like a bug to me. |
It's strange, on my machine everything works fine. Here is the output of |
@themartorana, can you provide a test site that reproduces this issue? |
@moorereason done! And I found a couple things along the way required to create the error:
If I renamed the Repo here: https://github.com/themartorana/hugo-empty-dir-test-site |
@themartorana, excellent! 🏆 I'm able to reproduce the issue with your repo after the following:
|
Filed upstream issue: spf13/afero#197 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
hugo version
:Hugo Static Site Generator v0.54.0/extended darwin/amd64 BuildDate: unknown
(installed via Homebrew)hugo
.Output resembling the following:
Output resembling the following:
This also affects
hugo server
; namely, preventing it from running entirely. In order to gethugo server
to run, either the empty "static" directory needs to be deleted or a file needs to be added to it.The text was updated successfully, but these errors were encountered: