Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer install 执行报错 #42

Open
CleverBilly opened this issue Mar 8, 2018 · 3 comments
Open

composer install 执行报错 #42

CleverBilly opened this issue Mar 8, 2018 · 3 comments

Comments

@CleverBilly
Copy link

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.

@littlestarsx
Copy link

Upgrade PHP version

@610648738
Copy link

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

@jianhuisu
Copy link

jianhuisu commented Mar 8, 2019

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants