I ran command php bin/magento setup:static-content:deploy -f and i am getting this error https://prnt.sc/ot0gpp Please help what to do, my static files are not getting generated because of which my site is down. its very urgent, please help

1 Answer 1


You have errors in less/css

You can run static content deploy with errors on to get more of an idea on what is wrong. However you will have to work through the errors fixing them as you seem them. Typically it's missing less variables.

php -d memory_limit=-1 -d display_errors=1 bin/magento setup:static-content:deploy

If you are really not sure what the errors refer to I suggest hiring a developer to take a look to fix your site.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.