Open krisztian-fekete opened 10 months ago
tedivm/jshrink v1.7.0 / PHP 8.1.25 search-overlay.59a6af4f2dc1ae75c745.js.gz
Compilation from source /var/www/shop/current/app/design/frontend/CustomTheme/default/web/generated/scripts/search-overlay.59a6af4f2dc1ae75c745.js failed
Trying to minify js within Magento 2.4.6-p3, but it fails on an already minfied file:
RuntimeException: Unclosed string at position: 16617 in /var/www/shop/current/vendor/tedivm/jshrink/src/JShrink/Minifier.php:588 Stack trace: #0 /var/www/shop/current/vendor/tedivm/jshrink/src/JShrink/Minifier.php(283): JShrink\Minifier->saveString() #1 /var/www/shop/current/vendor/tedivm/jshrink/src/JShrink/Minifier.php(164): JShrink\Minifier->loop() #2 /var/www/shop/current/vendor/tedivm/jshrink/src/JShrink/Minifier.php(139): JShrink\Minifier->minifyToString('"use strict";(s...', Array) #3 /var/www/shop/current/vendor/magento/framework/Code/Minifier/Adapter/Js/JShrink.php(27): JShrink\Minifier::minify('"use strict";(s...') #4 /var/www/shop/current/vendor/magento/framework/View/Asset/PreProcessor/Minify.php(60): Magento\Framework\Code\Minifier\Adapter\Js\JShrink->minify('"use strict";(s...') #5 /var/www/shop/current/vendor/magento/framework/View/Asset/PreProcessor/Pool.php(77): Magento\Framework\View\Asset\PreProcessor\Minify->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain)) #6 /var/www/shop/current/vendor/magento/framework/View/Asset/Source.php(152): Magento\Framework\View\Asset\PreProcessor\Pool->process(Object(Magento\Framework\View\Asset\PreProcessor\Chain)) #7 /var/www/shop/current/vendor/magento/framework/View/Asset/Source.php(105): Magento\Framework\View\Asset\Source->preProcess(Object(Magento\Framework\View\Asset\File)) #8 /var/www/shop/current/vendor/magento/framework/View/Asset/File.php(159): Magento\Framework\View\Asset\Source->getFile(Object(Magento\Framework\View\Asset\File)) #9 /var/www/shop/current/vendor/magento/framework/App/View/Asset/Publisher.php(74): Magento\Framework\View\Asset\File->getSourceFile() #10 /var/www/shop/current/vendor/magento/framework/App/View/Asset/Publisher.php(62): Magento\Framework\App\View\Asset\Publisher->publishAsset(Object(Magento\Framework\View\Asset\File)) #11 /var/www/shop/current/vendor/magento/module-deploy/Service/DeployStaticFile.php(97): Magento\Framework\App\View\Asset\Publisher->publish(Object(Magento\Framework\View\Asset\File)) #12 /var/www/shop/current/vendor/magento/module-deploy/Service/DeployPackage.php(189): Magento\Deploy\Service\DeployStaticFile->deployFile('generated/scrip...', Array) #13 /var/www/shop/current/vendor/magento/module-deploy/Service/DeployPackage.php(133): Magento\Deploy\Service\DeployPackage->processFile(Object(Magento\Deploy\Package\PackageFile), Object(Magento\Deploy\Package\Package)) #14 /var/www/shop/current/vendor/magento/module-deploy/Service/DeployPackage.php(102): Magento\Deploy\Service\DeployPackage->deployEmulated(Object(Magento\Deploy\Package\Package), Array, false) #15 [internal function]: Magento\Deploy\Service\DeployPackage->Magento\Deploy\Service\{closure}() #16 /var/www/shop/current/vendor/magento/framework/App/State.php(187): call_user_func_array(Object(Closure), Array) #17 /var/www/shop/current/generated/code/Magento/Framework/App/State/Interceptor.php(68): Magento\Framework\App\State->emulateAreaCode('frontend', Object(Closure), Array) #18 /var/www/shop/current/vendor/magento/module-deploy/Service/DeployPackage.php(103): Magento\Framework\App\State\Interceptor->emulateAreaCode('frontend', Object(Closure)) #19 /var/www/shop/current/vendor/magento/module-deploy/Process/Queue.php(358): Magento\Deploy\Service\DeployPackage->deploy(Object(Magento\Deploy\Package\Package), Array) #20 /var/www/shop/current/vendor/magento/module-deploy/Process/Queue.php(267): Magento\Deploy\Process\Queue->execute(Object(Magento\Deploy\Package\Package)) #21 /var/www/shop/current/vendor/magento/module-deploy/Process/Queue.php(248): Magento\Deploy\Process\Queue->executePackage(Object(Magento\Deploy\Package\Package), 'frontend/LenaHo...', Array, false) #22 /var/www/shop/current/vendor/magento/module-deploy/Process/Queue.php(176): Magento\Deploy\Process\Queue->assertAndExecute('frontend/LenaHo...', Array, Array) #23 /var/www/shop/current/vendor/magento/module-deploy/Strategy/QuickDeploy.php(84): Magento\Deploy\Process\Queue->process() #24 /var/www/shop/current/vendor/magento/module-deploy/Service/DeployStaticContent.php(115): Magento\Deploy\Strategy\QuickDeploy->deploy(Array) #25 /var/www/shop/current/setup/src/Magento/Setup/Console/Command/DeployStaticContentCommand.php(136): Magento\Deploy\Service\DeployStaticContent->deploy(Array) #26 /var/www/shop/current/vendor/symfony/console/Command/Command.php(298): Magento\Setup\Console\Command\DeployStaticContentCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #27 /var/www/shop/current/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #28 /var/www/shop/current/vendor/symfony/console/Application.php(301): Symfony\Compon
tedivm/jshrink v1.7.0 / PHP 8.1.25 search-overlay.59a6af4f2dc1ae75c745.js.gz
Compilation from source /var/www/shop/current/app/design/frontend/CustomTheme/default/web/generated/scripts/search-overlay.59a6af4f2dc1ae75c745.js failed
Trying to minify js within Magento 2.4.6-p3, but it fails on an already minfied file: