【发布时间】:2014-01-30 20:57:31
【问题描述】:
我今天一直在尝试在 sublime text 3 中使用 sass,为此我安装了 Ruby、Ruby SASS gem 和 Sublime 包 Sass 和 Sass Build。一切似乎都运行良好,但是当我尝试构建 css 文件(使用 Sass Build 包)时,我收到了这个奇怪的错误:
[Decode error - output not utf-8]
[Finished in 0.1s with exit code 1]
[cmd: ['sass', '--update', 'F:\\Program Files (x86)\\wamp\\www\\singlepage\\wp-content\\themes\\manaca\\style.scss:F:\\Program Files (x86)\\wamp\\www\\singlepage\\wp-content\\themes\\manaca/style.css', '--stop-on-error', '--no-cache', '--style', 'compressed']]
[dir: F:\Program Files (x86)\wamp\www\singlepage\wp-content\themes\manaca]
[path: C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;F:\Program Files (x86)\MacType;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\Autodesk\Backburner\]
当我尝试构建压缩的 CSS(来自同一个包)时,它只是返回
[Decode error - output not utf-8]
[Finished in 0.1s]
困扰我的是最后一行返回的疯狂文件路径(甚至不应该在 C: 中搜索)
我一直在研究的另一件事是output not utf-8。即使我在我的 sass(或 scss)文件中指定字符集,问题仍然存在。
无论如何,我很感激我能得到任何类型的帮助。
【问题讨论】:
标签: windows character-encoding sass sublimetext3