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

Don't load templates and similar when doing hugo mod graph and similar #8942

Closed
bep opened this issue Aug 31, 2021 · 1 comment · Fixed by #8943
Closed

Don't load templates and similar when doing hugo mod graph and similar #8942

bep opened this issue Aug 31, 2021 · 1 comment · Fixed by #8943

Comments

@bep
Copy link
Member

bep commented Aug 31, 2021

Which then would fail if there is a template error in the upstream library:

➜  hugo-alpine-test git:(master) ✗ hugo mod graph
hugo: downloading modules …
hugo: collected modules in 3273 ms
Error: add site dependencies: load resources: loading templates: "/Users/bep/dev/hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo-mod-jslibs/alpinejs/[email protected]/layouts/partials/jslibs/alpinejs/v3/script-src.html:4:1": parse failed: template: partials/jslibs/alpinejs/v3/script-src.html:4: undefined variable "$isProd"
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant