gohugoio / hugo-mod-bootstrap-scss

Packages Bootstrap SCSS (v4 and v5) as a Hugo Module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

module imports gives error : modul does not exist

hpsof opened this issue · comments

[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

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/.

yes, i forgot this. sorry.