Answer the question
In order to leave comments, you need to log in
Why are resources not converted in yii2?
I want less to be condensed into css. To do this, I did everything according to the documentation - Here is the link .
When updating the browser in the yii2 debagger, the following error occurs:
AssetConverter command 'lessc "C:/OpenServer/domains/p/basic/web/css/style.less" "C:/OpenServer/domains/p/basic/web/css/style.css" --no-color' failed with exit code 1:
STDOUT:
STDERR:
"lessc" �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞 �� �ணࠬ��� ��� ������ 䠩���.
Answer the question
In order to leave comments, you need to log in
Oh, this is your Windows ...
STDERR - perhaps there is a description of the error in the CP866 encoding, you can try to read it and then it will become clear what's wrong.
PS: in general, for the future, I would recommend that you abandon the yii asset manager and collect everything through grunt / gulp. The Yii Cookbook had an instruction for Grunt like
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question