This will probably sound like hyperbole, but Hugo, at least for me, on my mac, seems completely busted, in many many ways. I realise a minimal reproducible test case would be most helpful, but the issue I’m having is that everything about hugo seems completely jank. You can not all be using a piece of software this bad, so I assume the problem is me, but I’ve no idea how to even start debugging.
It’s proving impossible to learn the framework, because nothing works reliably or reproducibly, and I can’t tell if things are not working because I’ve done the wrong thing as a beginner, or my hugo is just busted once again.
My setup:
M1 Pro Macbook, OS X 14.1.
hugo v0.131.0+extended darwin/arm64 BuildDate=2024-08-02T09:03:48Z VendorInfo=brew
Running server with --disableFastRender --disableLiveReload
, but I’m also seeing similar issues if I rm -rf public && hugo
Some of the symptoms:
- only a handful of items in a large collection appearing in lists
- changes to content items only being reflected on adding/editing/sometimes deleting an
_index.md
- changes to baseof.html being completely ignored on some pages
- Live reload not working correctly - complaining about syntax errors have been corrected (in a one line file), even when I force-refresh the page
- Most recently, I added a bunch of assets to
static
, and now nothing fromcontent
is being processed topublic
at all. I’ve since emptiedstatic
,rm -rf public
, but still barely anything apart from my stylesheets and/index.html
are being processed. I know hugo is seeing the content incontent
, because I can see some debug logs referring to files in there, but it’s not outputting anything.
In short, everything is broken, there are no helpful errors. Sometimes restarting hugo server fixes the issues. Sometimes it doesn’t.
I have been a professional software developer for 25 years, and I have built sites in both nanoc and jekyll, so I have some experience of how things ‘should’ work in a project like this, even if some of the details are new to me.
Assuming you’re not all using a tool which flat-out does not work, can anyone give me some support to begin getting to the bottom of this? I’d genuinely like to use hugo, but right now I’m having no luck.