If composer runs out of memory


php -d memory_limit=-1 /usr/local/bin/composer require drupal/taxonomy_menu