Help Setting Up New Install

I’m trying to make a new site with Hugo (following the tutorial in the docs) and I get the following error:

WARN 2022/12/17 19:16:16 Module “ananke” is not compatible with this Hugo version; run “hugo mod graph” for more information.

How do I fix it?

Type hugo version to determine which version of Hugo you are running.

Then compare it to:
https://github.com/theNewDynamic/gohugo-theme-ananke/blob/master/config.yaml

Here’s the version info:

Hugo Static Site Generator v0.80.0/extended linux/amd64 BuildDate: 2021-07-18T09:31:51Z (debian 0.80.0-6+b5)

What can you conclude?

I’m a couple versions behind? That’s what apt had.

apt versions will be frozen at the LTS release date.

Have a look at the other installation options:
https://gohugo.io/installation/linux/

The Snap package is easy to use and up-to-date.

Installed the Snap (and uninstalled the apt binary) but it won’t work. When I try to run hugo it give me a command not found error.

Type which hugo

Never mind it works now just needed to restart my ssh session for some reason

A post was split to a new topic: How do I create a regular HTML based page?

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