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

Errors when deploying site #6

Open
danieljameshunt opened this issue Nov 10, 2024 · 2 comments
Open

Errors when deploying site #6

danieljameshunt opened this issue Nov 10, 2024 · 2 comments

Comments

@danieljameshunt
Copy link

Created a simple website using this theme, and prepared to deploy. Came up with error:

ERROR render of "home" failed: "[...]/layouts/_default/baseof.html:11:314": execute of template failed: template: _default/home.html:11:314: executing "_default/home.html" at <partial "third_party_js.html" .>: error calling partial: "[...]/layouts/partials/third_party_js.html:3:14": execute of template failed: template: partials/third_party_js.html:3:14: executing "partials/third_party_js.html" at <readDir "layouts/partials/third_party_js">: error calling readDir: failed to read directory "layouts/partials/third_party_js": open [...]/layouts/partials/third_party_js: no such file or directory.

I assume this relates to the third_party_js directory added during setup, but directory isn't uploaded to github since it's empty. Adding a file, even .gitignore, seems to come up with errors.

@nayanseth
Copy link
Contributor

Can you try adding a dummy js file?

@danieljameshunt
Copy link
Author

Added a dummy.js file to layouts/partials/third_party_js. Got the following error:

ERROR render of "taxonomy" failed: "/home/runner/work/Huntsforwimps/Huntsforwimps/layouts/_default/baseof.html:11:314": execute of template failed: template: authors/list.html:11:314: executing "authors/list.html" at <partial "third_party_js.html" .>: error calling partial: "/home/runner/work/Huntsforwimps/Huntsforwimps/layouts/partials/third_party_js.html:10:7": execute of template failed: template: partials/third_party_js.html:10:7: executing "partials/third_party_js.html" at <partial (printf "third_party_js/%!s(MISSING).html" .)>: error calling partial: partial "third_party_js/dummy.js.html" not found

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