Fail to upgrade from v4.8 to v5.0+ #2674
Unanswered
EckoTan0804
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The Hugo Module system required us to make further changes since then, to incorporate the major version (v5) in the module path. You can find the latest module paths for If upgrading from quite an old version, you may find it much easier to start fresh with one of the latest starter templates, edit the new |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I try to follow the update guide to update from v4.8.0 (i.e., the old Academic Kickstarter template) to v5.0+.
I have already installed Hugo Extended and its dependencies as descried in here. The versions of Hugo and go are
v0.95.0+extended
andgo1.18
, respectively.I came across a problem when I was trying to convert my site to use Hugo Modules following this guide:
To update
config/_default/config.toml
, I havetheme = "academic"
just as the guide said.
However, when I ran
hugo mod init my-site
to create ago.mod
file, an error occurred:I have been stuck due to this problem for a couple hours. Any help will be greatly appreciated 🙏! Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions