以下是我遇到的错误:
composer update laravel/framework
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
问题1
- Installation request for filp/whoops == 1.0.7.0 -> satisfiable by filp/whoops[1.0.7].
- laravel/framework 4.1.x-dev requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.11 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.12 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.13 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.14 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.15 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.16 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.17 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.18 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.19 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.20 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.21 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.22 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.23 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.24 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.25 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.26 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.27 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.28 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.29 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- laravel/framework v4.1.30 requires filp/whoops 1.0.10 -> satisfiable by filp/whoops[1.0.10].
- Conclusion: don't install filp/whoops 1.0.10
- laravel/framework v4.1.0 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.1 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.10 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.2 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.3 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.4 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.5 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.6 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.7 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.8 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- laravel/framework v4.1.9 requires filp/whoops 1.0.9 -> satisfiable by filp/whoops[1.0.9].
- Conclusion: don't install filp/whoops 1.0.9
- Installation request for laravel/framework 4.1.* -> satisfiable by laravel/framework[4.1.x-dev, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
我尝试使用4.3并且也遇到了错误。我该怎么办?
{
"name": "andrew13/Laravel-4-Bootstrap-Starter-Site",
"description": "Laravel 4 Starter Site",
"keywords": ["laravel","Starter Site"],
"license": "MIT",
"authors": [
{
"name": "Andrew Elkins",
"homepage": "http://www.andrewelkins.com"
}
],
"require": {
"laravel/framework": "4.0.*",
"zizaco/confide": "dev-master",
"zizaco/entrust": "dev-master",
"jasonlewis/basset": "dev-master",
"robclancy/presenter": "dev-develop",
"j20/php-uuid": "dev-master",
"greggilbert/recaptcha": "*",
"league/oauth2-server": "2.1.x",
"league/oauth2-client": "dev-master",
"zetacomponents/database": "1.4.6",
"lucadegasperi/oauth2-server-laravel": "1.0.x"
},
"require-dev": {
"way/generators": "dev-master",
"mockery/mockery": "dev-master@dev",
"summerstreet/woodling": "0.1.*",
"barryvdh/laravel-ide-helper": "dev-master"
},
"autoload": {
"classmap": [
"app/commands",
"app/controllers",
"app/library",
"app/models",
"app/presenters",
"app/database/migrations",
"app/database/seeds",
"app/tests/library"
]
},
"scripts": {
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-install-cmd": [
"php artisan optimize"
],
"post-update-cmd": [
"php artisan optimize"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
答案 0 :(得分:0)
发现同样的问题。打开composer.lock并检查“laravel / framework”的所有依赖项,然后逐个删除文件夹并再次使用composer update。这对我有用。
答案 1 :(得分:0)
如果失败,请再次在此发布回复。
它只是说laravel没有使用特定版本的呐喊。