"transpiler" "dartsass"

The documentation about css.Sass mentions the way to compile my scss files but with this option I get this message: ERROR TOCSS-DART: failed to transform “/scss/cbtv.scss” (text/x-scss): got unexpected EOF when executing “sass”. The user running hugo must have read and execute permissions on this program. With execute permissions only, this error is thrown.

Without the transpiler option I do not get the error so I am lost.

My demo site is https://cbtv.netlify.app/ but I ran sass manually with the output to static to have the site live.

Thanks, Alfred

doc used: css.Sass | Hugo
sass v1.71.1
hugo v0.139.5+extended+withdeploy linux/amd64 VendorInfo=brew

How did you install Dart Sass?
On which Linux distribution and version?

Also, please type hugo env and share the output.

Dart sass was installed with “brew install sass” just like I had installed hugo with brew.

uname -r
5.15.167.4-microsoft-standard-WSL2

cat /etc/os-release
PRETTY_NAME=“Ubuntu 22.04.3 LTS”
NAME=“Ubuntu”
VERSION_ID=“22.04”
VERSION=“22.04.3 LTS (Jammy Jellyfish)”
VERSION_CODENAME=jammy
ID=ubuntu

hugo env
hugo v0.139.5+extended+withdeploy linux/amd64 BuildDate=2024-12-14T19:16:21Z VendorInfo=brew
GOOS=“linux”
GOARCH=“amd64”
GOVERSION=“go1.23.4”
github.com/sass/libsass=“3.6.6”
github.com/webmproject/libwebp=“v1.3.2”
github.com/sass/dart-sass/protocol=“2.5.0”
github.com/sass/dart-sass/compiler=“1.71.1”
github.com/sass/dart-sass/implementation=“1.71.1”