Cloudflare Pages build failure for Hugo following Quickbuild instructions

This seems to be due to the Anake module not being compatible with the Hugo version

Have tried different Hugo versions without success.

Works fine locally. Have followed instructions with no success. Can’t load full log due to interface restrictions

WARN Module “GitHub - theNewDynamic/gohugo-theme-ananke: Ananke: A theme for Hugo Sites” is not compatible with this Hugo version; run “hugo mod graph” for more information.

Is this because of the Ananke version ?

ERROR render of “home” failed: “/opt/buildhome/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/the!new!dynamic/gohugo-theme-ananke@v0.0.0-20240928043059-33178c0d498e/layouts/_default/baseof.html:29:7”: execute of template failed: template: index.html:29:7: executing “index.html” at <partial “site-style.html” .>: error calling partial: “/opt/buildhome/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/the!new!dynamic/gohugo-theme-ananke@v0.0.0-20240928043059-33178c0d498e/layouts/partials/site-style.html:1:8”: execute of template failed: template: partials/site-style.html:1:8: executing “partials/site-style.html” at <partialCached “func/style/GetMainCSS” “style/GetMainCSS”>: error calling partialCached: “/opt/buildhome/.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/the!new!dynamic/gohugo-theme-ananke@v0.0.0-20240928043059-33178c0d498e/layouts/partials/func/style/GetMainCSS.html:69:23”: execute of template failed: template: partials/func/style/GetMainCSS.html:69:23: executing “partials/func/style/GetMainCSS.html” at : can’t evaluate field Sass in type interface {}

12:29:46.143 Cloning repository…
12:29:46.912 From GitHub - Timutei/ITAnthropologists: Retired and grumpy - Standing up a blog site
12:29:46.913 * branch 0b01b0ddf72d9c99b26a14b9c209f960c23d613d → FETCH_HEAD
12:29:46.913
12:29:46.953 HEAD is now at 0b01b0d Experimenting with NewDynamic default toml
12:29:46.954
12:29:47.652 Submodule ‘themes/ananke’ (GitHub - theNewDynamic/gohugo-theme-ananke: Ananke: A theme for Hugo Sites) registered for path ‘themes/ananke’
12:29:47.652 Cloning into ‘/opt/buildhome/clone/themes/ananke’…
12:29:47.653 Submodule path ‘themes/ananke’: checked out ‘33178c0d498edb18634bfe0f906ca191796ce307’
12:29:47.653
12:29:47.653 Using v2 root directory strategy
12:29:47.680 Success: Finished cloning repository files
12:29:49.254 Checking for configuration in a wrangler.toml configuration file (BETA)
12:29:49.255
12:29:49.372 No wrangler.toml file found. Continuing.
12:29:49.524 Detected the following tools from environment: hugo@extended_0.117.0
12:29:49.525 Installing hugo extended_0.117.0
12:29:49.658 * Downloading hugo release extended_0.117.0…
12:29:51.336 hugo extended_0.117.0 installation was successful!
12:29:51.670 Executing user command: hugo
12:29:52.227 go: downloading go1.23.2 (linux/amd64)
12:29:53.952 hugo: downloading modules …
12:29:58.190 hugo: collected modules in 6237 ms
12:29:58.190 WARN Module GitHub - theNewDynamic/gohugo-theme-ananke: Ananke: A theme for Hugo Sites is not compatible with this Hugo version; run hugo mod graph for more information.

|12:29:58.191|Start building sites … |
|12:29:58.191|hugo v0.117.0-b2f0696cad918fb61420a6aff173eb36662b406e+extended linux/amd64 BuildDate=2023-08-07T12:49:48Z VendorInfo=gohugoio|
|12:29:58.192||

Try the latest version of Hugo (currently v0.135.0).

That worked. Not sure why Cloudflare Pages defaulted to 0.118.0 from the beginning

Thanks

If you read their docs, they suggest to how to set an environment variable for a Hugo site. Hugo | Cloudflare Pages docs

Also, learn to wrap your code with backticks (the </> icon) for easier readability.