GruntのSASS実行時のエラー
GruntでSASS実行時に以下のようなエラーが表示されることがある。
NoMethodError: undefined method `ArgumentError' for Sass::Util:Module
このようなエラーが表示されたらSASSのバージョンが古くなって実行できなくなっている可能性があるため以下のコマンドで最新のSASSをインストールすると問題を解消できることがある。
gem install sass
CompassのEncodingエラー
GruntでCompass実行時に以下のようなエラー
Running "compass:dist" (compass) task Encoding::CompatibilityError on line ["87"] of C: incompatible character encodings: Windows-31J and UTF-8 Run with --trace to see the full backtrace Warning: ↑ Use --force to continue.
が表示される場合はGruntを実行したパスの場所が
C:\Users\山田\htdocs
のように日本語が含まれているときなのでディレクトリを日本語を含まない場所に変更することで解決できる。