-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unclosed regex pattern at position: 4715 #135
Comments
RuntimeException: Unclosed regex pattern at position: 4543 in /vendor/tedivm/jshrink/src/JShrink/Minifier.php:639 Downgrading tedivm/jshrink (v1.6.7 => v1.6.6) fixed the issue |
Thanks for the hint @emirajbbd |
@emirajbbd Downgrading to v1.6.6 doesnot fix the issue. I am having 2.4.6 version in PHP 8.2 in production mode with minify js enabled See error |
I've reverted the release- 1.6.8 matches 1.6.6. If possible can someone share the code that actually triggered the bug? |
My log : |
The logs don't really help- what I need is the code that's being run through the minifier, so I can replicate the issue. |
I don't have that, this is the compiler of Magento 2 that sent this error. |
@tedivm @eBusinessAtlantique downgrading to 1.6.6 or upgrading to 1.6.8 does resolve issue with Magento 2 JS minification (we just ran into this). |
facing same issue when adding Alpine.js ( i get the file from: https://unpkg.com/[email protected]/dist/cdn.min.js ) it has issues with this section: {message:"No error message given."},{el:t,expression:r}),console.warn(`Alpine Expression Error: ${e.message}
${r?'Expression: "'+r+`"
`:""}`,t),setTimeout(()=>{throw e},0)}var Ie=!0;function ke(e) a them fix for me, was to change it to: {message:"No error message given."},{el:t,expression:r}),console.warn(`Alpine Expression Error: ${e.message}
${r?'Expression: "'+r+`"`:""}`,t),setTimeout(()=>{throw e},0)}var Ie=!0;function ke(e) |
Just updated to the newest version (1.6.7) and I am getting errors during static content deployment.
The Magento 2.4.6-p1 store with php 8.1 is showing the error:
Error happened during deploy process: Unclosed regex pattern at position: 4715
The text was updated successfully, but these errors were encountered: