1、Fatal error: Allowed memory size of 1610612736 bytes exhausted (tried to allocate 134217736 bytes)
打开 php.ini 配置文件,搜索 memory_limit 配置项,修改如下
memory_limit=-1
2、it could not be found in any version
composer config -g repo.packagist composer https://packagist.org
3、Undefined index: name
降级composer
composer 降级(要是不能降级,可以尝试root权限运行)
composer self-update --1
再次安装
composer install
composer时遇到的一些问题
最新推荐文章于 2024-08-18 22:01:04 发布