-
-
Notifications
You must be signed in to change notification settings - Fork 43
Error in setup:static-content:deploy #71
Copy link
Copy link
Open
Description
I'm using versione 1.1.18 with Magento 2.4.4-p2 and while deploying the static content using compact strategy with this command:
php bin/magento setup:static-content:deploy --ansi --no-interaction -f -s compact --jobs 4 --no-html-minify --theme Magento/backend en_US
I get this output:
Deploy using compact strategy
base/Magento/base/default 1461/1461 ============================ 100% 17 secs
adminhtml/Magento/base/default 1425/1425 ============================ 100% 21 secs
frontend/Magento/base/default 1284/1284 ============================ 100% 21 secs
adminhtml/Magento/backend/default 0/266 >--------------------------- 0% 1 sec
Error happened during deploy process: The contents from the "/var/www/html/pub/static/adminhtml/Magento/base/default/tailwind/components/forms.css" file can't be read. Warning!file_get_contents(/var/www/html/pub/static/adminhtml/Magento/base/default/tailwind/components/forms.css): Failed to open stream: No such fil
e or directory
It seems that magento tries to deploy the content of the tailwind directory.
I have found 2 workarounds:
- switch to
standardstrategy, but it is slower - move the
tailwinddirectory out ofweb
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels