-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
kmpm/gohugo-theme-ananke
#1Description
When following the instructions for how to install this theme using the module method I get an error about not being able to get the module.
Note: I cannot run hugo config --format toml to get the config because this generates the same error so I just pasted the config instead.
Expected Behavior
hugo server -D
...
Environment: "development"
Serving pages from disk
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Press Ctrl+C to stopCurrent Behavior
hugo server -D
go: no module dependencies to download
go: github.com/theNewDynamic/gohugo-theme-ananke@upgrade: no matching versions for query "upgrade"
hugo: collected modules in 848 ms
Hugo provides its own webserver which builds and serves the site.
...
Error: command error: failed to load modules: failed to get ["github.com/theNewDynamic/gohugo-theme-ananke@upgrade"]: failed to execute 'go [get github.com/theNewDynamic/gohugo-theme-ananke@upgrade]': failed to execute binary "go" with args [get github.com/theNewDynamic/gohugo-theme-ananke@upgrade]: go: github.com/theNewDynamic/gohugo-theme-ananke@upgrade: no matching versions for query "upgrade"
*errors.errorString
Just for good measure I tried hugo mod get as well.
$ hugo mod get -u github.com/theNewDynamic/gohugo-theme-ananke
go: no module dependencies to download
go: github.com/theNewDynamic/gohugo-theme-ananke@upgrade: no matching versions for query "upgrade"
hugo: collected modules in 902 ms
Error: failed to load modules: failed to get ["github.com/theNewDynamic/gohugo-theme-ananke@upgrade"]: failed to execute 'go [get github.com/theNewDynamic/gohugo-theme-ananke@upgrade]': failed to execute binary "go" with args [get github.com/theNewDynamic/gohugo-theme-ananke@upgrade]: go: github.com/theNewDynamic/gohugo-theme-ananke@upgrade: no matching versions for query "upgrade"
*errors.errorStringPossible Solution
Steps to Reproduce
hugo new site quickstartcd quickstartgo mod init quickstartecho 'theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]' >> hugo.tomlhugo server -D
The bigger picture (we need context)
Running this on a Raspberry Pi 5 with latest RaspiOS updated todady (debian 12.
$ hugo version
hugo v0.138.0+extended linux/arm64 BuildDate=unknown
$ go version
go version go1.22.8 linux/arm64
$ hugo mod graph
# returns nothing
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
$ uname -a
Linux kmpm-pi-a3c244 6.6.58-v8-16k+ #1809 SMP PREEMPT Wed Oct 23 11:55:28 BST 2024 aarch64 GNU/Linux
$ hugo config --format toml
go: no module dependencies to download
go: github.com/theNewDynamic/gohugo-theme-ananke@upgrade: no matching versions for query "upgrade"
hugo: collected modules in 863 ms
Error: failed to load modules: failed to get ["github.com/theNewDynamic/gohugo-theme-ananke@upgrade"]: failed to execute 'go [get github.com/theNewDynamic/gohugo-theme-ananke@upgrade]': failed to execute binary "go" with args [get github.com/theNewDynamic/gohugo-theme-ananke@upgrade]: go: github.com/theNewDynamic/gohugo-theme-ananke@upgrade: no matching versions for query "upgrade"
*errors.errorStringHugo Config
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = ["github.com/theNewDynamic/gohugo-theme-ananke"]
jaller94
Metadata
Metadata
Assignees
Labels
No labels