yii2-assets-auto-compress
yii2-assets-auto-compress copied to clipboard
RuntimeException : Unclosed regex pattern at position: 266184
Getting error like :
RuntimeException Unclosed regex pattern at position: 266184
-
in C:\xampp\htdocs\freemelroseheights_protected\vendor\tedivm\jshrink\src\JShrink\Minifier.php at line 525
-
in C:\xampp\htdocs\freemelroseheights_protected\vendor\tedivm\jshrink\src\JShrink\Minifier.php at line 240 – JShrink\Minifier::saveRegex()
-
in C:\xampp\htdocs\freemelroseheights_protected\vendor\tedivm\jshrink\src\JShrink\Minifier.php at line 144 – JShrink\Minifier::loop() . . .
i get the same error, when i add a module to my project, before that it works properly.
I get the same error too.
I solved this problem by turning on the jsfileremoutecompile option. I don't know which place, but it helped.
Same issue. Appeared after update some libs and Yii to v2.0.16.1.
After disable jsFileCompile
option - it working fine, but if I need jsFileCompile
have this error.
@pa-konovalov Honestly difficult to catch this error ... If your project is online, could you link to it?
I get the same error, when i use a CKEditor 4. I connected him without an asset bundle for correct working. Maybe there is a better solution?
I have same problem with Tinymce 5. I disabled jsFileCompile option, but is not a solution to the problem. Maybe there are already other solutions?