crscheid/php-article-extractor 组件安装时出现问题
crscheid/php-article-extractor issues while componsoe install
我运行这个命令:
COMPOSER_MEMORY_LIMIT=-1 composer require crscheid/php-article-extractor -vvv
通过 SAT 解决依赖关系
Dependency resolution completed in 0.044 seconds
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-scotteh$php-goose.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-scotteh$php-goose.json from cache
Your requirements could not be resolved to an installable set of packages.
Problem 1
- crscheid/php-article-extractor 2.5.1 requires scotteh/php-goose dev-master -> satisfiable by scotteh/php-goose[dev-master] but these conflict with your requirements or minimum-stability.
- crscheid/php-article-extractor 2.5 requires scotteh/php-goose dev-master -> satisfiable by scotteh/php-goose[dev-master] but these conflict with your requirements or minimum-stability.
- Installation request for crscheid/php-article-extractor ^2.5 -> satisfiable by crscheid/php-article-extractor[2.5, 2.5.1].
Installation failed, reverting ./composer.json to its original content.
但是这个包不会被安装,因为它需要更大的 composer 版本,我的版本是
Composer version 1.10.24 2021-12-09 20:06:33
我还能在这个版本上安装它吗,有什么帮助吗?
解决方案:
第 1 步:
COMPOSER_MEMORY_LIMIT=-1 composer require scotteh/php-goose dev-master
第 2 步:
COMPOSER_MEMORY_LIMIT=-1 composer require crscheid/php-article-extractor
我运行这个命令:
COMPOSER_MEMORY_LIMIT=-1 composer require crscheid/php-article-extractor -vvv
通过 SAT 解决依赖关系
Dependency resolution completed in 0.044 seconds
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-scotteh$php-goose.json from cache
Reading /root/.composer/cache/repo/https---repo.packagist.org/provider-scotteh$php-goose.json from cache
Your requirements could not be resolved to an installable set of packages.
Problem 1
- crscheid/php-article-extractor 2.5.1 requires scotteh/php-goose dev-master -> satisfiable by scotteh/php-goose[dev-master] but these conflict with your requirements or minimum-stability.
- crscheid/php-article-extractor 2.5 requires scotteh/php-goose dev-master -> satisfiable by scotteh/php-goose[dev-master] but these conflict with your requirements or minimum-stability.
- Installation request for crscheid/php-article-extractor ^2.5 -> satisfiable by crscheid/php-article-extractor[2.5, 2.5.1].
Installation failed, reverting ./composer.json to its original content.
但是这个包不会被安装,因为它需要更大的 composer 版本,我的版本是
Composer version 1.10.24 2021-12-09 20:06:33
我还能在这个版本上安装它吗,有什么帮助吗?
解决方案:
第 1 步:
COMPOSER_MEMORY_LIMIT=-1 composer require scotteh/php-goose dev-master
第 2 步:
COMPOSER_MEMORY_LIMIT=-1 composer require crscheid/php-article-extractor