basa-casa / admin-hugo

basa-casa/admin collections and fields for managing hugo site configuration, content, and data.
MIT License
15 stars 2 forks source link

Error: failed to load modules: module "github.com/basa-casa/hugo-scms-admin" not found #8

Open myuksektepe opened 5 months ago

myuksektepe commented 5 months ago

Hi, I'm following https://github.com/basa-casa/hugo-admin#installation but I facing a problem;

I have hugo v0.126.1+extended and there is no config.toml/.yml/.json file in the folder. There is just hugo.toml and when i add these below lines

[module]
    [[module.imports]]
        path = "github.com/basa-casa/hugo-scms-admin"

into this file and run hugo mod vendor command i get this error:

Error: failed to load modules: module "github.com/basa-casa/hugo-scms-admin" not found in "..../hugo/quickstart/themes/github.com/basa-casa/hugo-scms-admin"; either add it as a Hugo Module or store it in "..../hugo/quickstart/themes".: module does not exist

what did i do wrong? 🙄

bmackinney commented 1 month ago

I'm sorry Murat the instructions weren't correct and I wasn't paying attention. Want to try again?