I
I
Igor N.2017-04-03 15:07:59
Unicode
Igor N., 2017-04-03 15:07:59

Error compiling SASS file Internal Error: Invalid UTF-8?

Good afternoon. Gulp throws an error when compiling a SASS file

gulp-notify: [Error running Gulp] app\sass\main.sass
Internal Error: Invalid UTF-8

What I didn’t do: I checked for the presence of ASCII characters, and recreated the file, and in notepad++ I converted it to “UTF-8 without BOM” (although it was already like that), and reinstalled node_modules , even Node itself and NPM . Nothing helps - the file does not compile. Google doesn't turn up anything useful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2017-04-03
@jmax

you need to find the problematic file using the exclusion method. create a new one and rewrite the code in it. problematic delete.
the reason is some utf-8 character, it may be invisible to the "naked eye" =), it may have appeared due to copy-paste, or accidentally entered by alt-code, or more likely, the file is corrupted, and one of the bytes of the character stuck (well, something like that).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question