S
S
stichii2016-04-05 14:51:27
phpstorm
stichii, 2016-04-05 14:51:27

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
eecdf06c8f7d48bd9fd9f1d870b9d7c8.jpg
Here is the file structure and compilation error: 0b7306468b9a465b984a35c52c752e2e.jpg
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

1 answer(s)
S
sergey, 2016-04-05
@zorro76

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 question

Ask a Question

731 491 924 answers to any question