Dart-sass-embedded deprecated; no longer works with Homebrew?

On May 15, 2023, GitHub - sass/dart-sass-embedded: A wrapper for Dart Sass that implements the compiler side of the Embedded Sass protocol was archived and deprecated:

This is no longer the repository for Embedded Dart Sass. The embedded compiler has been merged into the primary Dart Sass repository, and further releases will be included as part of Dart Sass itself. The embedded compiler can be accessed by running sass --embedded .

brew install sass/sass/dart-sass-embedded seems to no longer install a binary to PATH, and I now see this error when running Hugo:

❯ hugo server -D
Start building sites … 
hugo v0.113.0+extended darwin/amd64 BuildDate=unknown
Built in 152 ms
Error: error building site: TOCSS-DART: failed to transform "css/paige/bootstrap/370ad5bdcb602baa80412d8e9cd6e25f3b158a68-paige.scss" (text/x-scss). You need dart-sass-embedded in your system $PATH.: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information

What’s the current guidance for using Sass?

There’s a long story here (with a conclusion coming shortly) which someone else may tell, but I get pretty annoyed reading the above about them retiring the old brew when they well knew that it would take the upstream libraries (e.g. Hugo) to upgrade their Dart Sass integration. I will open an issue somewhere and shout.

/cc @jmooring


Yeah, I’m glad we’ve got control of it with choco, scoop, and snap. Those packages aren’t going anywhere any time soon.

1 Like

To answer the initial Q. If @jmooring is giving me the thumbs up re. the Snap situation, I’m releasing Hugo 0.114.0 tomorrow, which supports both old and new Dart Sass.


I’m wrestling with something this morning, related to the Snap, so please hold off.

Oh, Snap … :slight_smile: Probably just as well, there’s a few more things that probably should get in there.

OK, tested snap from edge channel at 254c2b32:

Works fine, obviously still using last available version of dart-sass-embedded (embedded in the snap itself).

The “wrestling” was/is with a local (snap) build environment that is borked, completely unrelated to recent changes.


Appending @1.62.1 to the package name for Homebrew does indeed work for now:

1 Like