WARN Module "project" is not compatible with this Hugo version

After running the exampleSite inside my own theme hugo server --theme ../.., I get this warning with v0.153.0.

WARN  Module "project" is not compatible with this Hugo version: Min 0.149.0 extended; run "hugo mod graph" for more information.
$ hugo mod graph
WARN  Module "project" is not compatible with this Hugo version: Min 0.149.0 extended; run "hugo mod graph" for more information.
$ hugo env
hugo v0.153.0-b4128babb839feaa962c00e777f0d2fe8d811f7d linux/amd64 BuildDate=2025-12-19T10:14:01Z VendorInfo=gohugoio
GOOS="linux"
GOARCH="amd64"
GOVERSION="go1.25.4"
github.com/webmproject/libwebp="v1.6.0"

I suspect your theme requires the extended version. This is set is the theme’s config.

1 Like

I suggest that we remove this warning (now lots of false positives, and you will eventually get an error if you really need the extended version). If someone could write a GitHub issue about it, I will get it in a patch release tomorrow.

1 Like

I will take care of this.

https://github.com/gohugoio/hugo/issues/14284

Good catch. I had set it in the example site config to remember I use webp. Now set to false removed since I no longer require the extended version.

[module]
  [module.hugoVersion]
    min = '0.153.0'

The default is false so you can just remove that line if you’d like.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.