hugo-toha / hugo-toha.github.io

An example hugo static site with Toha theme.
https://hugo-toha.github.io
MIT License
111 stars 576 forks source link

Can't run the example site #347

Open kamasylvia opened 6 days ago

kamasylvia commented 6 days ago

Versions

What I did

I cloned the repo, followed by Quickstart but skipped Steps 1 to 4.

Errors

ERROR render of "section" failed:
ERROR render of "taxonomy" failed:
Error: error building site: render: failed to render pages: render of "page" failed:

Terminal

(base) kamasylvia@LaniakeadeMac-mini Blog % git clone https://github.com/hugo-toha/hugo-toha.github.io.git
Cloning into 'hugo-toha.github.io'...
remote: Enumerating objects: 14344, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 14344 (delta 0), reused 3 (delta 0), pack-reused 14339 (from 1)
Receiving objects: 100% (14344/14344), 48.91 MiB | 775.00 KiB/s, done.
Resolving deltas: 100% (6426/6426), done.
(base) kamasylvia@LaniakeadeMac-mini Blog % cd hugo-toha.github.io 
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % hugo version
hugo v0.135.0+extended darwin/amd64 BuildDate=2024-09-27T13:17:08Z VendorInfo=brew
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % go version
go version go1.23.1 darwin/amd64
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % node -v
v22.9.0
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % npm -v
10.9.0
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % hugo mod tidy
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % hugo mod npm pack
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % npm install
npm warn deprecated popper.js@1.16.1: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

added 322 packages, and audited 323 packages in 6s

101 packages are looking for funding
  run `npm fund` for details

2 high severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % hugo server -w

Watching for changes in /Users/kamasylvia/Documents/Blog/hugo-toha.github.io/{archetypes,assets,content,data,node_modules,package.hugo.json,package.json,static}
Watching for config changes in /Users/kamasylvia/Documents/Blog/hugo-toha.github.io/hugo.yaml, /Users/kamasylvia/Documents/Blog/hugo-toha.github.io/go.mod
Start building sites … 
hugo v0.135.0+extended darwin/amd64 BuildDate=2024-09-27T13:17:08Z VendorInfo=brew

ERROR render of "section" failed: "/Users/kamasylvia/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.6.0/layouts/_default/baseof.html:47:7": execute of template failed: template: notes/list.html:47:7: executing "notes/list.html" at <partial "scripts.html" .>: error calling partial: partial "scripts.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
ERROR render of "taxonomy" failed: "/Users/kamasylvia/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.6.0/layouts/_default/baseof.html:47:7": execute of template failed: template: categories/list.html:47:7: executing "categories/list.html" at <partial "scripts.html" .>: error calling partial: "/Users/kamasylvia/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.6.0/layouts/partials/scripts.html:1:3": execute of template failed: template: partials/scripts.html:1:3: executing "partials/scripts.html" at <partial "helpers/script-bundle.html">: error calling partial: partial "helpers/script-bundle.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
Built in 59403 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/Users/kamasylvia/Library/Caches/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/v4@v4.6.0/layouts/_default/baseof.html:47:7": execute of template failed: template: notes/single.html:47:7: executing "notes/single.html" at <partial "scripts.html" .>: error calling partial: partial "scripts.html" timed out after 30s. This is most likely due to infinite recursion. If this is just a slow template, you can try to increase the 'timeout' config setting.
(base) kamasylvia@LaniakeadeMac-mini hugo-toha.github.io % 
hossainemruz commented 6 days ago

Look like some timeout issue. Not sure what is causing it.