Update to composer v2 and add cache folder
Please update Composer to version 2.
Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Also, allow a user to write to composers cache folder:
"Cannot create cache directory /home/12341234.cloudwaysapps.com/hfjhsdkfhdsjkf/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache"