Closed preston-bernstein closed 3 months ago
I get the same errors. Running native on Ubuntu VM
hugo v0.126.1-3d40aba512931031921463dafc172c0d124437b8+extended linux/amd64 BuildDate=2024-05-15T10:42:34Z VendorInfo=gohugoio
go version go1.22.3 linux/amd64
node -v
v20.13.1
did you run npm run project-setup
before running npm run dev
?
did you run
npm run project-setup
before runningnpm run dev
?
Yes, I did
Anyonr got an idea? Ill try it on a different machine. But id love to use this theme.
I propose removing the .devcontainer and anything else related to it from the main branch for now, until this issue is resolved.
On Fri, May 24, 2024 at 6:39 AM keesfluitman @.***> wrote:
Anyonr got an idea? Ill try it on a different machine. But id love to use this theme.
— Reply to this email directly, view it on GitHub https://github.com/zeon-studio/hugoplate/issues/128#issuecomment-2129213439, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASMCNI2J62LJIIYMGGO32PLZD4KGPAVCNFSM6AAAAABH3LNKGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRZGIYTGNBTHE . You are receiving this because you authored the thread.Message ID: @.***>
Anyonr got an idea? Ill try it on a different machine. But id love to use this theme.
You just need not to open it in the devcontainer, and use your local environment.
Anyonr got an idea? Ill try it on a different machine. But id love to use this theme.
You just need not to open it in the devcontainer, and use your local environment.
Unfortunately i get this error on a ubuntu vm. Not in a devcontainer. But ill try debugging
@keesfluitman the latest build does fix the .devcontainer issue. Thanks @tfsomrat
@keesfluitman the latest build does fix the .devcontainer issue. Thanks @tfsomrat
i noticed that the build just takes very long, and so times out. When building, it works fine. So I just need to add to the timeout.
What is your Hugo Extended Version
v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df+extended linux/amd64 BuildDate=2023-11-08T11:18:07Z VendorInfo=gohugoio
What is your Go Version
go1.21.4 linux/amd64
What is your Node.js Version
v20.13.0
Check for Existing Issues
Expected Behavior
When I run npm run dev in a terminal within the docker container created by the .devcontainer, then I expect that the site builds properly
Steps to Reproduce
It hangs on Start building sites … hugo v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df+extended linux/amd64 BuildDate=2023-11-08T11:18:07Z VendorInfo=gohugoio
and then it errors out
ERROR render of "section" failed: "/workspaces/hugoplate/themes/hugoplate/layouts/_default/baseof.html:15:7": execute of template failed: template: _default/list.html:15:7: executing "_default/list.html" at <partialCached "essentials/style.html" .>: error calling partialCached: partial "essentials/style.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 "page" failed: "/workspaces/hugoplate/themes/hugoplate/layouts/_default/baseof.html:15:7": execute of template failed: template: _default/single.html:15:7: executing "_default/single.html" at <partialCached "essentials/style.html" .>: error calling partialCached: partial "essentials/style.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 "term" failed: "/workspaces/hugoplate/themes/hugoplate/layouts/_default/baseof.html:15:7": execute of template failed: template: _default/taxonomy.html:15:7: executing "_default/taxonomy.html" at <partialCached "essentials/style.html" .>: error calling partialCached: partial "essentials/style.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 41927 ms Error: error building site: render: failed to render pages: render of "page" failed: "/workspaces/hugoplate/themes/hugoplate/layouts/_default/baseof.html:15:7": execute of template failed: template: _default/single.html:15:7: executing "_default/single.html" at <partialCached "essentials/style.html" .>: error calling partialCached: partial "essentials/style.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.
Code Reproduction URL
github.com/zeon-studio/hugoplate.git
Additional Information
I am running on Windows
An additional issue I have discovered is that even inside the devcontainer terminal, it is using my system's node version and not the version explicitly declared in the Dockerfile.