Hot answers tagged

2

Following command will help you for sure. chmod -R 777 var pub generated php bin/magento setup:upgrade && php bin/magento setup:static-content:deploy en_US -f If this helps you then hit like and accept as answer. Thank you, Hiren Patel


2

In most cases this happens due to empty less/css files. Check if the file style.css or style.less located in the frontend directory of Mymodule_Base module is not empty. Add some css there. Then run rm -rf var/view_preprocessed rm -rf pub/static/frontend and then run static content deployment again.


2

these 2 lines may help: find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + assuming www-data is your server group chown -R :www-data . references: https://devdocs.magento.com/guides/v2.4/install-gde/prereq/file-system-perms.html#perms-set-two-users


Only top voted, non community-wiki answers of a minimum length are eligible