javascript - Internal Error: Invalid UTF-8 - Sass & Gulp -
i following error when trying run gulp sass
in linux ubuntu
hutber@hutber-ubuntu:/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
searching through files/folders special characters returns nothing.
hutber@hutber-ubuntu:/var/www/beta.norsemanfc.co.uk$ find ./* -iregex '.*/.*[èö].*' -print
otherwise if remove @import @ start of file fail on @include border-box-sizing; variable susy
so of course how can sass running locally?
updated
hutber@hutber-ubuntu:/var/www/beta.norsemanfc.co.uk/frontend/sass$ find ./* | xargs grep -i '.*/.*[èö].*' grep: ./fonts: directory grep: ./fonts/helvetica-neue: directory grep: ./modules: directory grep: ./modules/form: directory grep: ./pages: directory grep: ./plugins: directory grep: ./susy: directory grep: ./susy/susy: directory grep: ./susy/susy/language: directory grep: ./susy/susy/language/susy: directory grep: ./susy/susy/language/susyone: directory grep: ./susy/susy/su: directory grep: ./susy/susy/output: directory grep: ./susy/susy/output/support: directory grep: ./susy/susy/output/float: directory grep: ./susy/susy/output/shared: directory
nb: similar question: error "invalid utf-8" when compiling sass @import fixed removing special charaters path, folders english , have been.
you can try converting file ascii , see if ? marks appears, non utf-8 ones:
cat your-file.css | iconv -f utf-8 -t ascii//translit > ascii.css
Comments
Post a Comment