Skip to content

Magento 2 upgrade issue to 2.4.8

I am upgrading magento 2.4.5 to 2.4.8 I have done in local working fine
then i deploy in develoment server its working fine .

When i am going to deploy composer.json,composer.lock,magento.env,yaml.magento.app.yaml
with all other code and design file getting the below error.
Same files working in dev server

The command php ./bin/magento setup:static-content:deploy --ansi --no-interaction -f -s compact -vvv --jobs 4 --no-html-minify --theme Magento/luma en_US failed.

base/Magento/base/default               521/521             ============================ 100%   0             
frontend/Magento/base/default           1566/1566           ============================ 100%   0             
adminhtml/Magento/base/default          2031/2031           ============================ 100%   0             
frontend/Magento/blank/default          2/110               >--------------------------- 1%     < 1 sec
Compilation from source: /app/vendor/magento/theme-frontend-blank/web/css/email-fonts.less
Path "../../../../lib/web/css/source/lib/_lib.less" cannot be used with directory "/app/vendor/magento/theme-frontend-blank/web/i18n/default/"
        
Error happened during deploy process: Compilation from source: /app/vendor/magento/theme-frontend-blank/web/css/email-fonts.less
Path "../../../../lib/web/css/source/lib/_lib.less" cannot be used with directory "/app/vendor/magento/theme-frontend-blank/web/i18n/default/"
        
base/Magento/base/default               521/521             ============================ 100%   0             
frontend/Magento/base/default           1566/1566           ============================ 100%   0             
adminhtml/Magento/base/default          2031/2031           ============================ 100%   0             
frontend/Magento/blank/default          2/110               >--------------------------- 1%     3 secs        
frontend/Magento/luma/default           78/78               ============================ 100%   0             
frontend/Magento/blank/en_US            0/0                 >--------------------------- 0%     0             
frontend/Magento/luma/en_US             0/0                 >--------------------------- 0%     0
Error happened during deploy process: The contents from the "/app/pub/static/frontend/Magento/blank/default/js/navigation-menu.js" file can't be read. Warning!file_get_contents(/app/pub/static/frontend/Magento/blank/default/js/navigation-menu.js): Failed to open stream: No such file or directory
W: 
W: In Processor.php line 129:
W: