I'm struggling with a big issue, the magento deployment command failed.
php bin/magento deploy:mode:set production
return the following error:
Command returned non-zero exit code:
/usr/bin/php7.0 -f bin/magento setup:static-content:deploy fr_FR en_US
Thanks in advance!
As stated in comments try setting your php memory limit higher what i do however is the following:
php bin/magento deploy:mode:set --skip-compilation production
and then:
php bin/magento setup:di:compile
This way you should avoid the memory limit error and it works the same way as the deploy command is intended to only downside is 2 commands instead of one.
Cheers!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With