webim icon indicating copy to clipboard operation
webim copied to clipboard

composer install 执行报错

Open CleverBilly opened this issue 6 years ago • 3 comments

oading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1 - The requested package matyhtf/swoole_framework dev-master exists as matyhtf/swoole_framework[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.1.0, 1.1.1, 1.1.2, 1.10.0, 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.13.0, 1.13.1, 1.13.2, 1.13.3, 1.13.4, 1.13.5, 1.13.6, 1.14.0, 1.15.0, 1.15.1, 1.15.2, 1.15.3, 1.15.4, 1.16.0, 1.16.1, 1.16.2, 1.16.3, 1.2.0, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.6.1, 1.6.10, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.8.0, 1.8.1, 1.8.10, 1.8.11, 1.8.12, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9.0, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8] but these are rejected by your constraint.

CleverBilly avatar Mar 08 '18 04:03 CleverBilly

Upgrade PHP version

littlestarsx avatar Mar 23 '18 11:03 littlestarsx

升级PHP版本 升级到什么版本才行。

610648738 avatar Dec 10 '18 12:12 610648738

上面报错信息的意思是 composer.json 里配置的版本在远程仓库中没有找到 , 你修改一下 composer.json 即可 { "require": { "matyhtf/swoole_framework": "dev-master" } }

修改为你本机swoole扩展对应的版本

{ "require": { "matyhtf/swoole_framework": "2.0.0" } }

jianhuisu avatar Mar 08 '19 03:03 jianhuisu