Hi, I know this happened quite a lot so far but I can’t find a solution to my issue.
First of all I’ve been able to build my them so far without issues.
Today I started getting this error
Error: Error building site: 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
I checked my version and it should be fine ( it says Extended)
@frjo this is what I get when the build starts today
Run hugo --minify
WARN 2022/12/26 13:36:02 Module "project" is not compatible with this Hugo version; run "hugo mod graph" for more information.
Start building sites …
hugo v0.109.0-47b12b83e636224e5e601813ff3e6790c191e371 linux/amd64 BuildDate=2022-12-23T10:38:11Z VendorInfo=gohugoio
Error: Error building site: 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
Total in 58 ms
Error: Process completed with exit code 255.
@bep would you be able to help ? I see you already provided a way about this issue. Unfortunately upgrading to an extended version didn’t help. Thanks!
Fixed it. If you can call you a fix I hardcoded in the hugo version of the gh-pages.yml the version to use.
0.108.0.
it worked like a charm. A total mess using 0.109.0
Cheers!
Because you are checking the resources directory into source control, Hugo doesn’t need the extended version if the cache is warm. But when the cache is cold, Hugo needs to transpile the SASS to CSS again, and it cannot do that without the extended version.