1
试图通过所有文件在Linux操作系统Ubuntu内部错误:无效的UTF-8 - 萨斯&咕嘟咕嘟
[email protected]:/var/www/beta.norsemanfc.co.uk$ gulp sass
[14:43:26] Using gulpfile /var/www/beta.norsemanfc.co.uk/gulpfile.js
[14:43:26] Starting 'sass'...
[14:43:27] gulp-notify: [Compile Error] frontend/sass/style.scss
Internal Error: Invalid UTF-8
[14:43:27] Finished 'sass' after 547 ms
搜索运行gulp sass
时,我得到了下面的错误/任何特殊字符的文件夹没有返回。
[email protected]:/var/www/beta.norsemanfc.co.uk$ find ./* -iregex '.*/.*[èö].*' -print
否则,如果我在文件开始删除@import它就会失败的@include边界盒大小;因为这是一个变量从susy
所以当然,我怎么能得到本地运行sass?
更新
[email protected]:/var/www/beta.norsemanfc.co.uk/frontend/sass$ find ./* | xargs grep -i '.*/.*[èö].*'
grep: ./fonts: Is a directory
grep: ./fonts/helvetica-neue: Is a directory
grep: ./modules: Is a directory
grep: ./modules/form: Is a directory
grep: ./pages: Is a directory
grep: ./plugins: Is a directory
grep: ./susy: Is a directory
grep: ./susy/susy: Is a directory
grep: ./susy/susy/language: Is a directory
grep: ./susy/susy/language/susy: Is a directory
grep: ./susy/susy/language/susyone: Is a directory
grep: ./susy/susy/su: Is a directory
grep: ./susy/susy/output: Is a directory
grep: ./susy/susy/output/support: Is a directory
grep: ./susy/susy/output/float: Is a directory
grep: ./susy/susy/output/shared: Is a directory
注:类似的问题:Error "Invalid UTF-8" when compiling sass with @import 这是通过从路径移除特殊的字符,但是我所有的文件夹是英语和一直都是固定的。
尝试用“六-b”打开CSS文件中的二进制模式,然后执行“设置列表”显示非打印字符。此外,您的find命令正在搜索不包含内容的文件名,请尝试以下操作:find ./* | xargs grep -i'。* /。* [èö]。*' –
干杯路易斯,一套好的清单没有显示出任何平常我不相信的东西。 '^ I^Itoggle:右上角,^ M $'例如。很多'^ I'和'^ M $'。 我将用新发现更新问题:) –
css内容怎么样?那里有任何非ASCII字符? –