sassgruntjsgrunt-contrib-sass

grunt-contrib-sass throwing "Could not find an option named" errors


All of a sudden, my grunt-contrib-sass task is throwing Could not find an option named "sourcemap" errors on build. I currently have sass 3.5.1 installed and using grunt-contrib-sass 1.0.0. Any ideas what could be causing this? Here's the output I'm seeing:

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.

And, this isn't compiling down the CSS. Thoughts?


Solution

  • I solved this by deleting the node_modules folder and letting Visual Studio repopulate this folder.