luizdepra / hugo-coder

A minimalist blog theme for hugo.
MIT License
2.71k stars 1.06k forks source link

Error #757

Open abudhosamuel opened 1 year ago

abudhosamuel commented 1 year ago

When running it brings me this error...What could be the issue?

Start building sites … hugo v0.109.0-47b12b83e636224e5e601813ff3e6790c191e371 windows/amd64 BuildDate=2022-12-23T10:38:11Z VendorInfo=gohugoio ERROR 2023/01/06 12:06:46 TOCSS: failed to transform "style.coder-dark.css" (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: TOCSS: failed to transform "style.coder.css" (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 Built in 331 ms

luizdepra commented 1 year ago

Hey.

Your answer is in the error message.

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

So, you will need to properly install the extended version of Hugo. This theme uses Hugo's Asset Pipeline to bundle (S)CSS and JS code.

vekee commented 1 year ago

If your error is on the GitHub Actions, you can update the .github/workflows/gh-pages.yml, release the comment extended: true.

スクリーンショット 2023-01-07 21 37 28

You can check the same gh-pages.yml here.

If the error is on your local, please check you Hugo version is like hugo v0.88.1+extended darwin/amd64 BuildDate=unknown.