How to compile sass modules(new version of sass)? https://css-tricks.com/introducing-sass-modules/
I tried the sass-migrator terminal but it didn't compile https://sass-lang.com/documentation/cli/migrator
sent me a message "Nothing to migrate!"
How to compile sass modules(new version of sass)? https://css-tricks.com/introducing-sass-modules/
I tried the sass-migrator terminal but it didn't compile https://sass-lang.com/documentation/cli/migrator
sent me a message "Nothing to migrate!"
I had the same error message. If you are in the same situation than I was:
npm install -g sass-migrator)Then this is probably because you need Dart installed on your machine, as the tool is built on top of it.
Installing sass-migrator with chocolatey solves the problem, as it automatically installs Dart along the package. Once chocolatey is installed, run the command choco install sass-migrator. It will add the command to your path as sass-migrator.exe.
The commands were taken from sass migrator's docs.
Note: As of writing (August 2020), there's a bug with chocolatey's sass-migrator installation that will prevent you from running sass-migrator on Windows. The solution, very simple, is described here: Github issue.