Answer the question
In order to leave comments, you need to log in
Error compiling scss file to css, how to fix?
Good afternoon! I want to start learning Scss. And first I set it up on my computer according to the instructions from the official site. So I use phpStorm, then of course I set up the compilation of the scss file into css in phpStorm.
Scss (version 3.4.22) is installed on the computer and ruby (version 2,2,4 (64)).
Settings in phpStorm
Here is the file structure and compilation error:
Do not tell me how to fix this error: cmd.exe /D /C call C:/Ruby22-x64/bin/scss.bat --no-cache --update style. scss:style.css
Encoding::CompatibilityError: incompatible character encodings: IBM866 and UTF-8
Use --trace for backtrace.
Process finished with exit code 1
Internet searches have not yielded results (
Answer the question
In order to leave comments, you need to log in
The Arguments
field should contain:
--no-cache --update $FileName$:$FileParentDir$/css/$FileNameWithoutExtension$.css
where $FileParentDir$/css/ is the path to the css folder;
In the Output paths to refresh field , write:
$FileParentDir$/css/$FileNameWithoutExtension$.css
and everything should work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question