grunt-contrib-sass выдает ошибки "Не удалось найти параметр с именем"
Внезапно, моя задача ворчать Could not find an option named "sourcemap"
ошибки при сборке. В настоящее время я установил sass 3.5.1 и использую grunt-contrib-sass 1.0.0. Есть идеи, что может быть причиной этого? Вот результат, который я вижу:
Could not find an option named "sourcemap".
Usage: dart-sass <input>
-s, --style Output style.
[expanded (default)]
-c, --[no-]color Whether to emit terminal colors.
--[no-]trace Print full Dart stack traces for exceptions.
-h, --help Print this usage information.
--version Print the version of Dart Sass.
Warning: Exited with error code 64 Used --force, continuing.
Done, but with warnings.
Process terminated with code 0.
И это не компилирует CSS. Мысли?
2 ответа
Решение
Я решил эту проблему, удалив папку node_modules и позволив Visual Studio снова заполнить эту папку.
скорее всего у вас старый движок sass
пытаться
sudo gem install sass