Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run the example site #347

Open
kamasylvia opened this issue Oct 18, 2024 · 1 comment
Open

Can't run the example site #347

kamasylvia opened this issue Oct 18, 2024 · 1 comment

Comments

@kamasylvia
Copy link

Versions

  • hugo: v0.135.0+extended
  • go: 1.23.1
  • node: v22.9.0
  • npm: 10.9.0

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 [email protected]: 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/[email protected]/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/[email protected]/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/[email protected]/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/[email protected]/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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants