zend framework 2 composer.php [英] zend framework 2 composer.php

查看:42
本文介绍了zend framework 2 composer.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我尝试使用zend php composer安装webino-image-thumb时,出现了此错误


when I try to install webino-image-thumb using zend php composer it gave me this error

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. *稳定发行版.在此处

Composer filters packages by stability and by default it requires a minimum stability of stable. You can change this to RC since webino-image-thumb is 2.0.0-RC1 at the time of writing this or just use the 1.* stable release. Check the doc here

这篇关于zend framework 2 composer.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆