According to the godartsass doc:
Note: The
v2.x.xof this project targets thev2of the Dart Sass Embedded protocol with thesassexexutable in releases that can be downloaeded here. Forv1you need to importgithub.com/bep/godartsassand notgithub.com/bep/godartsass/v2.
You have to install dart-sass standalone binary instead of dart-sass-embedded. It's also important to not have JavaScript SASS (installed with e.g. npm i -g sass) version in a $PATH - you will also get the same error, because sass --embedded is not available in this version. You should be able to pass dart-sass binary location in godartsass.Options.
I was just struggling with this issue and finally realized what caused the problem.