module imports gives error : modul does not exist
hpsof opened this issue · comments
hanspeter schlapbach commented
[module]
[[module.imports]]
path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5"
G:\sofim_git_repos\LERNEN\hugo\HUGO_VERSUCHE\bsp-minimal-site>....\hugo_extended\hugo.exe server
Error: module "https://github.com/gohugoio/hugo-mod-bootstrap-scss/v5" not found; either add it as a Hugo Module or store it in "G:\sofim_git_repos\LERNEN\hugo\HUGO_VERSUCHE\bsp-minimal-site\themes".: module does not exist
Razon Yang commented
I guess you forgot to initialize your site/theme to be a module.
hugo mod init example.com/user/name
Please replace the
example.com/user/name
with yours.
Learn more on https://gohugo.io/hugo-modules/use-modules/.
hanspeter schlapbach commented
yes, i forgot this. sorry.