2017-07-31 156 views
1

我需要为laravel安装omnipay包。
如何移除拼图/拼图包?

composer require ignited/laravel-omnipay 

在安装包中收到一个错误:

Your requirements could not be resolved to an installable set of packages.

随着列表中的问题:

Problem 1 
- Installation request for ignited/laravel-omnipay ^2.3 -> satisfiable by ignited/laravel-omnipay[2.3.0]. 
- Conclusion: remove guzzle/guzzle v3.8.1 
- Conclusion: don't install guzzle/guzzle v3.8.1 
- ignited/laravel-omnipay 2.3.0 requires omnipay/common 2.5.* -> satisfiable by omnipay/common[2.5.2, v2.5.0, v2.5.1]. 
- omnipay/common 2.5.2 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3]. 
- omnipay/common v2.5.0 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3]. 
- omnipay/common v2.5.1 requires guzzle/guzzle ~3.9 -> satisfiable by guzzle/guzzle[v3.9.0, v3.9.1, v3.9.2, v3.9.3]. 
- Can only install one of: guzzle/guzzle[v3.9.0, v3.8.1]. 
- Can only install one of: guzzle/guzzle[v3.9.1, v3.8.1]. 
- Can only install one of: guzzle/guzzle[v3.9.2, v3.8.1]. 
- Can only install one of: guzzle/guzzle[v3.9.3, v3.8.1]. 
- Installation request for guzzle/guzzle (locked at v3.8.1) -> satisfiable by guzzle/guzzle[v3.8.1]. 

而且composer.json恢复回:

Installation failed, reverting ./composer.json to its original content.

如何删除恼人的软件包?

我已经尝试过哟删除它通过:

composer remove guzzle/guzzle 

但没有一个成功的,和职高的我安装guzzlehttp /狂饮包,而不是暴食/狂饮。

如何清除guzzle/guzzle包的composer存储库?

在此先感谢。

回答

1

问题解决了。

原因:

的狂饮/狂饮包(弃用)所需的联赛/ flysystem-Rackspace公司。

因此我们应该删除这个包。

composer remove league/flysystem-rackspace