zend framework 2 composer.php




当我尝试使用Zend PHP Composer安装Webino-image-thumb时,它给了我这个错误

php composer.phar require webino/webino-image-thumb:2.*<br/>
./composer.json has been updated<br/>
Loading composer repositories with package information<br/>
Ignoring unknown parameter "server role"<br/>
Updating dependencies (including require-dev)<br/>
Your requirements could not be resolved to an installable set of packages.<br/><br/>

 Problem 1<br/>
    - Can only install one of: zf-commons/zfc-admin[v0.1.0, dev-master].<br/>
    - Can only install one of: zf-commons/zfc-admin[v0.1.0, dev-master].<br/>
    - Installation request for zf-commons/zfc-admin 0.1.0 -> satisfiable by zf-commons/zfc-admin[v0.1.0].<br/>
    - Installation request for zf-commons/zfc-admin == 9999999-dev -> satisfiable by zf-commons/zfc-admin[dev-master].<br/>Any help<br/>Lanka

只需替换"webino/webino-image-thumb":"2.*" "webino/webino-image-thumb":"1.*"

Composer通过稳定性过滤软件包,默认情况下它需要stable的最低稳定性。您可以将其更改为RC,因为webino-image-thumb在编写本文时为2.0.0-rc1,或者仅使用1.*稳定版本。在此处检查文档

相关内容

  • 没有找到相关文章

最新更新