HugoBlox / hugo-blox-builder

🚨 GROW YOUR AUDIENCE WITH HUGOBLOX! 🚀 HugoBlox is an easy, fast no-code website builder for researchers, entrepreneurs, data scientists, and developers. Build stunning sites in minutes. 适合研究人员、企业家、数据科学家和开发者的简单快速无代码网站构建器。用拖放功能、可定制模板和内置SEO工具快速创建精美网站!
https://hugoblox.com/templates/
MIT License
8.36k stars 2.9k forks source link

Error while executing `yarn view:local minimal` #2969

Closed Konafets closed 1 year ago

Konafets commented 1 year ago

Preliminary Checks

Description

I followed the instructions about contributing and cloned a fork of the repository. After that I used the command yarn view:local minimal but got that error:

Error: command error: failed to load modules: module "github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-seo" not found in "/Users/Konafets/Sites/wowchemy-hugo-themes/starters/minimal/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-seo"; either add it as a Hugo Module or store it in "/Users/Konafets/Sites/wowchemy-hugo-themes/starters/minimal/themes".: module does not exist
error Command failed with exit code 1.

Reproduction Link

https://github.com/Konafets/wowchemy-hugo-themes

Steps to Reproduce

  1. git clone git clone https://github.com/Konafets/wowchemy-hugo-themes.git
  2. cd wowchemy-hugo-themes
  3. yarn view:local minimal

Expected Result

I can open the theme in my browser.

Actual Result

Error: command error: failed to load modules: module "github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-seo" not found in "/Users/Konafets/Sites/wowchemy-hugo-themes/starters/minimal/themes/github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-seo"; either add it as a Hugo Module or store it in "/Users/Konafets/Sites/wowchemy-hugo-themes/starters/minimal/themes".: module does not exist
error Command failed with exit code 1.

What Hugo Module versions does your site use?

cat starters/minimal/go.mod
module github.com/wowchemy/hugo-minimal-theme

go 1.15

require (
    github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-core v0.2.0 // indirect
    github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify v1.0.0 // indirect
    github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-plugin-netlify-cms v1.0.0 // indirect
    github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy-seo v0.1.0 // indirect
    github.com/wowchemy/wowchemy-hugo-themes/modules/wowchemy/v5 v5.7.1-0.20221024214304-ad466232017f
)

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome

Which Wowchemy template are you using?

*

What version of Hugo are you using?

v0.115.4+extended darwin/arm64 BuildDate=unknown

github-actions[bot] commented 1 year ago

This issue is stale because it has not had any recent activity. The resources of the project maintainers are limited, and so we are asking for your help.

If this is a bug and you can still reproduce this error on the main branch, consider contributing a Pull Request with a fix.

If this is a feature request, and you feel that it is still relevant and valuable, consider contributing a Pull Request for review.

This issue will automatically close soon if no further activity occurs. Thank you for your contributions.

Konafets commented 1 year ago

LOL, this issue is not closed.