Composer require socialiteproviders/weixin 安装不了啊?
以下是报错信息:切换了几个镜像都不行。
vagrant@homestead:~/code/larabbs$ composer require socialiteproviders/weixin
Using version ^4.0 for socialiteproviders/weixin
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
mmap() failed: [12] Cannot allocate memory
mmap() failed: [12] Cannot allocate memory
PHP Fatal error: Out of memory (allocated 547364864) (tried to allocate 20971520 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 90
Fatal error: Out of memory (allocated 547364864) (tried to allocate 20971520 bytes) in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/RuleSet.php on line 90
vagrant@homestead:~/code/larabbs$
推荐文章: