首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >crscheid/php-组件安装时的文章提取器问题

crscheid/php-组件安装时的文章提取器问题
EN

Stack Overflow用户
提问于 2021-12-20 14:16:29
回答 1查看 78关注 0票数 0

我运行以下命令:

代码语言:javascript
复制
COMPOSER_MEMORY_LIMIT=-1 composer require crscheid/php-article-extractor -vvv

通过SAT解决依赖关系

代码语言:javascript
复制
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版本,我的版本是

代码语言:javascript
复制
Composer version 1.10.24 2021-12-09 20:06:33

我还能在这个版本上安装吗,有什么帮助吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-12-20 15:38:27

解决方案:

步骤1:

代码语言:javascript
复制
COMPOSER_MEMORY_LIMIT=-1 composer require scotteh/php-goose dev-master

第2步:

代码语言:javascript
复制
COMPOSER_MEMORY_LIMIT=-1 composer require crscheid/php-article-extractor
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/70423168

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档