Hi,
I did a trivial build to my site. I did not change a thing in the configuration. It worked fine until today. It appears there is a bug in the code that is related to Hugo, or the theme. I am using the theme Congo. Has anyone encountered such a bug? What can I do?
I have to mention that in the local build it does work.
Build logs:
9:48:32 AM: WARN 2024/04/10 06:48:32 Module “project” is not compatible with this Hugo version; run “hugo mod graph” for more information.
9:48:32 AM: WARN 2024/04/10 06:48:32 Module “congo” is not compatible with this Hugo version; run “hugo mod graph” for more information.
9:48:32 AM: Start building sites …
9:48:32 AM: hugo v0.85.0-724D5DB5+extended linux/amd64 BuildDate=2021-07-05T10:46:28Z VendorInfo=gohugoio
9:49:07 AM: Error: Error building site: “/opt/build/repo/content/posts/hello-aws/index.md:1:1”: timed out initializing value. You may have a circular loop in a shortcode, or your site may have resources that take longer to build than the timeout
limit in your Hugo config file.
9:49:07 AM: Total in 35369 ms
9:49:07 AM:
9:49:07 AM: “build.command” failed
9:49:07 AM: ────────────────────────────────────────────────────────────────
9:49:07 AM:
9:49:07 AM: Error message
9:49:07 AM: Command failed with exit code 255: hugo (Search results for '"non-zero exit code: 255"' - Netlify Support Forums)
9:49:07 AM:
9:49:07 AM: Error location
9:49:07 AM: In Build command from Netlify app:
9:49:07 AM: hugo
9:49:07 AM:
9:49:07 AM: Resolved config
9:49:07 AM: build:
9:49:07 AM: command: hugo
9:49:07 AM: commandOrigin: ui
9:49:07 AM: environment:
9:49:07 AM: - HUGO_ENV
9:49:07 AM: - LANG
9:49:07 AM: publish: /opt/build/repo/public
9:49:07 AM: publishOrigin: ui
9:49:08 AM: Failed during stage “building site”: Build script returned non-zero exit code: 2
9:49:08 AM: Build failed due to a user error: Build script returned non-zero exit code: 2
9:49:08 AM: Failing build: Failed to build site
9:49:08 AM: Finished processing build request in 1m5.569s
Thanks!