dirkolbrich / hugo-tailwindcss-starter-theme

Starter files for a Hugo theme with Tailwindcss
MIT License
400 stars 55 forks source link

Can't build site with 'hugo' command #23

Closed erik06 closed 4 years ago

erik06 commented 4 years ago

A fresh install following the README, fails to work when the hugo command it run. I'm really not sure where the issue is, I'm guessing during the purge as hugo server works fine.

Using Hugo v0.67.0/extended darwin/amd64

Note: I changed the path names in the following copy and paste to protect my privacy

Building sites … ERROR 2020/09/17 15:43:30 render of "taxonomyTerm" failed: execute of template failed: template: _default/list.html:3:7: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "test-tailwind/themes/new-theme-name/layouts/partials/head.html:22:55": execute of template failed: template: partials/head.html:22:55: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
ERROR 2020/09/17 15:43:30 render of "taxonomyTerm" failed: execute of template failed: template: _default/list.html:3:7: executing "_default/list.html" at <partial "head.html" .>: error calling partial: "test-tailwind/themes/new-theme-name/layouts/partials/head.html:22:55": execute of template failed: template: partials/head.html:22:55: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
Total in 20 ms
Error: Error building site: failed to render pages: render of "home" failed: execute of template failed: template: index.html:3:7: executing "index.html" at <partial "head.html" .>: error calling partial: "test-tailwind/themes/new-theme-name/layouts/partials/head.html:22:55": execute of template failed: template: partials/head.html:22:55: executing "partials/head.html" at <resources>: can't evaluate field PostProcess in type interface {}
erik06 commented 4 years ago

Looks like my Hugo version was too far behind. I've upgraded, and the problem was solved!