-
Notifications
You must be signed in to change notification settings - Fork 906
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
hugo build: warning '.File.UniqueID on zero object' #1007
Comments
Let me take a look. That line was from an update in 2021 by someone who doesn't seem to still be on GitHub under that user name, but it didn't break anything at the time.... |
I had the same issue on Node v8. Upgraded to Node v16 and it worked. |
I followed your instructions but can no longer reproduce the error. Hugo 0.120.4 and Node 20. Can you still reproduce the error @deining? |
Yes, I can. Hugo v0.120.4 and Node 16.20.2, Ubuntu 22.04. Addendum: Just verified, I can reproduce it with latest Node version 20.9.0 too. This was to be expected, I don't think Node version (or node in general) play any role here. |
Oops, my description how to reproduce the error was imprecise, it is corrected now: |
How to reproduce
docs
folder:hugo new content/docs/_index.md
hugo -D
and you will get this warning:Using
hugo --panicOnWarning
, you can track down where the error originates:So the offending code line is here:
docsy/layouts/partials/section-index.html
Line 7 in 6fc622c
The text was updated successfully, but these errors were encountered: