Closed 360path closed 2 years ago
after two years, I rename the filename to sass_migrator. But still use sass-migrator, it's worked.
The issue here is that we haven't deployed the migrator to Chocolatey in a long time, so the version there is very old. I've filed #222 to track re-enabling it.
According to the docs (https://sass-lang.com/documentation/cli/migrator) the command is supposed to be
But after installing the migrator through Chocolatey on Windows and calling
sass-migrator
I get the following error:There is a file called
C:\ProgramData\chocolatey\lib\sass-migrator\tools\sass-migrator.bat
though. Renaming it tosass_migrator.bat
solves the problem.Also, in the usage description it says:
which is not what the command is supposed to be according to the online docs.
I reckon, the error is in
tool/grind/chocolatey.dart
in Line 36/37 or inpackage/chocolatey/chocolateyInstall.ps1
andpackage/chocolatey/chocolateyUninstall.ps1
.