scaffold-vccw
scaffold-vccw copied to clipboard
Allowed memory size exhausted with composer package install
When trying to install the package as described, I am presented with the following Fatal error:
Using Composer to install the package...
---
Loading composer repositories with package information
Updating dependencies
PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 9437184 bytes) in phar:///usr/local/bin/wp/vendor/composer/composer/src/Composer/Repository/ComposerRepository.php on line 565
Not to overcomplicate things, but it may be good to link to the WP-CLI docs on how to deal with common memory issues.
The solution that worked for me:
$ php -d memory_limit=1024M "$(which wp)" package install vccw/scaffold-vccw:@stable