compass watch 错误

刚开始使用compass使用命令时,出现错误

        ompass is watching for changes. Press Ctrl-C to Stop.
Encoding::CompatibilityError on line ["87"] of D: incompatible character encodings: GBK and UTF-8
Run with --trace to see the full backtrace

错误原因是使用compass create learn-sass创建了一个项目,还在本文件夹下面出现两个文件夹learn-sass和.sass-cache文件夹,运行compass watch命令时,直接在外面执行就可以,不要cd进入创建的同名文件夹中在运行命令。

feihu分享到:

          

You may also like...

Scroll Up