Closed coffius closed 11 months ago
Hi @wasserman - I'm sorry to hear you're experiencing issues.
I tried replicating the issue by:
hugo new site <site_name>
/themes
hugo.toml
hugo new content posts/my-first-post.md
and setting draft = false
hugo server
That said, everything built and ran fine for me. Would it be possible to upload your project to GitHub so I can clone the repository and take a closer look? That might help me troubleshoot a bit better. :)
Checked one more time. Works fine on MacOS but on Windows still there are the same errors.
Preparing a repo with the failing project.
Repo with the failing project is here: https://github.com/coffius/failing_poison_blog
Thanks for adding the repo -- that helps. I cloned and ran it on my Ubuntu machine without any issues. You mentioned that it runs fine on MacOS too, so it must be a Windows thing. I unfortunately don't have a Windows OS, so my troubleshooting capabilities are limited.
I did find this issue on another Hugo theme that looks similar to yours. In that case, it was (supposedly) a problem with how Hugo was installed through WSL. Not sure if you're using WSL or not, but you could also try downgrading Hugo to a different version on Windows and seeing if that fixes things.
I would be interested to know if you get similar errors when using a different Hugo theme. If so, it's probably a higher level issue with Hugo (specifically Windows version v0.119.0) and not necessarily the theme itself.
I would be interested to know if you get similar errors when using a different Hugo theme.
Majority of other themes are working for me on Windows without problems.
Not sure if you're using WSL or not, but you could also try downgrading Hugo to a different version on Windows and seeing if that fixes things.
I tried to use WSL(basically Ubuntu's bash) and it works fine there.
I guess the issue can be closed now.
Hmmm that's interesting. I'm curious to know what the issue is and if others are experiencing it too. I'll close it for now, but if you find more info or want to troubleshoot it further, feel free to open it back up!
Thanks again, @coffius.
I just tried to use this theme with a freshly created site and hugo failed with these errors:
Any ideas how to fix it?