Problems using dart-sass on git bash in windows

Hello there, I recently downloaded the dart-sass folder from github… It works fne in the windows command prompt, but in git bash i keep getting bash: sass: command not found. How can i make git bash to use dart-sass without doing npm install sass.

Hey there,

the README says:

You can download the standalone Dart Sass archive for your operating system—containing the Dart VM and the snapshot of the executable—from the GitHub release page. Extract it, add the directory to your path, restart your terminal, and the sass executable is ready to run!

Did you add the directory to your path environment variable?

sass command works fine in the windows cmd prompt. Where i’m having issues is accessing sass in windows git bash.

1 Like

Alright, then your bash probably doesn’t find the binary of sass.

Have a look at this link:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.