Extension installing via composer - [AWS Bitnami]


#1

I am using a Bitnami Stack as an Amazon Web Services Instance (t2.micro).
I want to install some extensions, but i`ve got some problems.
One of the extensions is the CoreShop
When I will Install it with composer, then I get those errors:

  1. error:

Cannot create cache directory /opt/bitnami/php/composer/cache/repo/https—packagist.org/, or directory is not writable. Proceeding without cache
Cannot create cache directory /opt/bitnami/php/composer/cache/files/, or directory is not writable. Proceeding without cache

  1. error:

The following exception is caused by a lack of memory or swap, or not having swap configured
Check https://getcomposer.org/doc/articles/troubleshooting.md#proc-open-fork-failed-errors for details

  1. error:

PHP Warning: proc_open(): fork failed - Cannot allocate memory in phar:///opt/bitnami/php/bin/composer.phar/vendor/symfony/console/Application.php on line 959

[ErrorException]
proc_open(): fork failed - Cannot allocate memory

I also tried to run the enable Bundle command, but there I got this error:

Could not open input file: bin/console

Can somebody help me?