Grant the PHP interpreter the writable permissions to the generated folder:
generated
chmod -R -v 777 generated