Closed jubbs closed 1 month ago
I am not sure why hugo is failing. I will look into it on WSL2.
Have you installed the extended version of hugo? If not, you can remove hugo and run the following command:
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
Passes that error but I get Error: error building site: process: readAndProcessContent: "/home/jubbs/workspace/recipya/docs/website/content/fr/_index.md:7:1": failed to extract shortcode: template for shortcode "hextra/hero-headline" not found
I will try and track this down tomorow
Whoops did not init submodules. All good now
I am trying to build on WSL2 ubuntu 22.04.
Following instructions here https://recipes.musicavis.ca/guide/docs/development/intro/
I have all the dev dependencies
git clone --recurse-submodules https://github.com/reaper47/recipya.git cd recipya task build
Getting the following
`jubbs@DESKTOP-GTIE0A4:~/workspace/recipya$ task run task: [build] go generate ./... Total in 1 ms Error: Unable to locate config file or config directory. Perhaps you need to create a new site. Run hugo help new for details.
docs/website/build.go:4: running "hugo": exit status 255
up to date, audited 260 packages in 2s
51 packages are looking for funding run npm fund for details
31 high severity vulnerabilities
To address issues that do not require attention, run: npm audit fix
To address all issues (including breaking changes), run: npm audit fix --force
Run npm audit for details.
Rebuilding...
🌼 daisyUI 4.12.10 ├─ ✔︎ 2 themes added https://daisyui.com/docs/themes ╰─ ❤︎ Support daisyUI project: https://opencollective.com/daisyui
Done in 1385ms.
(✓) Format complete [ count=10 errors=0 duration=266.490267ms ] (✓) Complete [ updates=10 duration=229.091308ms ] exit status 1
WSL2 Win11 Ubuntu 22.04 LTS