Closed terrymight closed 2 years ago
Hello @terrymight
I just tried the theme setup from scratch, and everything goes fine. Please try it from scratch following this direction
clone the repository
git clone git@github.com:themefisher/bigspring-light.git
cd in the project directory
cd bigspring-light/exampleSite/
Start local dev server
hugo server --themesDir ../..
I am getting the same error.
Start building sites …
hugo v0.110.0 linux/amd64 BuildDate=unknown
ERROR 2023/01/30 15:42:50 render of "page" failed: "/home/itapai/bigspring-light/layouts/_default/baseof.html:19:4": execute of template failed: template: _default/single.html:19:4: executing "_default/single.html" at <partial "style.html" .>: error calling partial: "/home/itapai/bigspring-light/layouts/partials/style.html:30:33": execute of template failed: template: partials/style.html:30:33: executing "partials/style.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"
ERROR 2023/01/30 15:42:50 render of "page" failed: "/home/itapai/bigspring-light/layouts/_default/baseof.html:19:4": execute of template failed: template: _default/single.html:19:4: executing "_default/single.html" at <partial "style.html" .>: error calling partial: "/home/itapai/bigspring-light/layouts/partials/style.html:30:33": execute of template failed: template: partials/style.html:30:33: executing "partials/style.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"
ERROR 2023/01/30 15:42:50 render of "section" failed: "/home/itapai/bigspring-light/layouts/_default/baseof.html:19:4": execute of template failed: template: contact/list.html:19:4: executing "contact/list.html" at <partial "style.html" .>: error calling partial: "/home/itapai/bigspring-light/layouts/partials/style.html:30:33": execute of template failed: template: partials/style.html:30:33: executing "partials/style.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"
ERROR 2023/01/30 15:42:50 render of "page" failed: "/home/itapai/bigspring-light/layouts/_default/baseof.html:19:4": execute of template failed: template: _default/single.html:19:4: executing "_default/single.html" at <partial "style.html" .>: error calling partial: "/home/itapai/bigspring-light/layouts/partials/style.html:30:33": execute of template failed: template: partials/style.html:30:33: executing "partials/style.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"
ERROR 2023/01/30 15:42:50 TOCSS: failed to transform "style.scss" (text/x-scss). Check your Hugo installation; you need the extended version to build SCSS/SASS with transpiler set to 'libsass'.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Error: Error building site: failed to render pages: render of "page" failed: "/home/itapai/bigspring-light/layouts/_default/baseof.html:19:4": execute of template failed: template: _default/single.html:19:4: executing "_default/single.html" at <partial "style.html" .>: error calling partial: "/home/itapai/bigspring-light/layouts/partials/style.html:30:33": execute of template failed: template: partials/style.html:30:33: executing "partials/style.html" at <resources.Concat>: error calling Concat: resources in Concat must be of the same Media Type, got "text/x-scss" and "text/css"
Built in 28 ms
versions:
go version go1.19.5 linux/amd64
hugo v0.110.0 linux/amd64 BuildDate=unknown
am i using some incompatible versions perhaps?
To answer my own question, yes. It's running fine with hugo v0.109 :shrug:
After cloning repo I followed all the steps but when I ran hugo server --themesDir ../.. I keep getting error like stated below
render of "page" failed: execute of template failed: template: _default/single.html:19:4: executing "_default/single.html" at <partial "style.html" .>: error calling partial: