在windows环境下运行compass文件出现的错误提示解决方案

在windows环境下运行compass文件出现的错误提示解决方案

 

例如:经常在项目中运行grunt命令编译scss文件的时候,会出现下面的错误提示

(Encoding::CompatibilityError on line ["87"] of c: incompatible character encodin
gs: GBK and UTF-8)

 

解决方法:1、项目中可能包含了中文路径,把中文路径改为英文路径

                  2、在scss文件中可能用了中文注释,把中文注释去掉或者改问英文注释

posted @ 2017-06-26 14:00  阿力瓦  阅读(530)  评论(0编辑  收藏  举报