skeeks-semenov / yii2-assets-auto-compress

Automatic compilation of js + css + html
https://skeeks.com/
BSD 3-Clause "New" or "Revised" License
157 stars 43 forks source link

RuntimeException : Unclosed regex pattern at position: 266184 #31

Open Er-Kalpesh opened 7 years ago

Er-Kalpesh commented 7 years ago

Getting error like :

RuntimeException Unclosed regex pattern at position: 266184

  1. in C:\xampp\htdocs\freemelroseheights_protected\vendor\tedivm\jshrink\src\JShrink\Minifier.php at line 525

  2. in C:\xampp\htdocs\freemelroseheights_protected\vendor\tedivm\jshrink\src\JShrink\Minifier.php at line 240 – JShrink\Minifier::saveRegex()

  3. in C:\xampp\htdocs\freemelroseheights_protected\vendor\tedivm\jshrink\src\JShrink\Minifier.php at line 144 – JShrink\Minifier::loop() . . .

masihfathi commented 7 years ago

i get the same error, when i add a module to my project, before that it works properly.

yongshengli commented 7 years ago

I get the same error too.

6elkir commented 5 years ago

I solved this problem by turning on the jsfileremoutecompile option. I don't know which place, but it helped.

pa-konovalov commented 5 years ago

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.

skeeks-semenov commented 5 years ago

@pa-konovalov Honestly difficult to catch this error ... If your project is online, could you link to it?

laker-ls commented 4 years ago

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?

agrechuha commented 3 years ago

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?