You got an error. A composer memory limit error.
PHP Fatal error: Allowed memory size of XXXXXX bytes exhausted <...>
You go to the documentation. It tells you to search through your PHP ini files and increase the memory limit. You realize that’s going to take a while depending on what env you’re using. You’d rather just copy and paste a command in the terminal. This command.
export COMPOSER_MEMORY_LIMIT=-1
This will configure your current env. This will set the memory limit to unlimited for your current session.
Resource: https://www.agileana.com/blog/composer-memory-limit-troubleshooting/