gethugothemes / bigspring-light-hugo

Bigspring is a Hugo startup theme. It has a clean, minimal, fresh UI.
https://gethugothemes.com/products/bigspring/?utm_source=bigspring_github&utm_medium=referral&utm_campaign=github_theme_about
MIT License
198 stars 299 forks source link

Error during set up #60

Closed terrymight closed 2 years ago

terrymight commented 2 years ago

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:

somratpro commented 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

  1. clone the repository git clone git@github.com:themefisher/bigspring-light.git

  2. cd in the project directory cd bigspring-light/exampleSite/

  3. Start local dev server hugo server --themesDir ../..

itapai commented 1 year ago

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?

itapai commented 1 year ago

To answer my own question, yes. It's running fine with hugo v0.109 :shrug: