Finally getting back on a project, has been 5 months or so since I ran a composer update, also in this time I have moved to a new pc. Today while trying to run composer update and I am greeted with the following:
composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/framework 5.7.* -> satisfiable by laravel/framework[5.7.x-dev, v5.7.0, v5.7.1, v5.7.10, v5.7.11, v5.7.12, v5.7.13, v5.7.14, v5.7.15, v5.7.16, v5.7.17, v5.7.18, v5.7.19, v5.7.2, v5.7.20, v5.7.21, v5.7.22, v5.7.23, v5.7.24, v5.7.25, v5.7.26, v5.7.27, v5.7.28, v5.7.3, v5.7.4, v5.7.5, v5.7.6, v5.7.7, v5.7.8, v5.7.9].
- laravel/framework 6.x-dev requires nesbot/carbon ^2.0 -> satisfiable by nesbot/carbon[2.0.0, 2.0.0-beta.1, 2.0.0-beta.2, 2.0.0-beta.3, 2.0.0-beta.4, 2.0.0-beta.5, 2.0.0-beta.6, 2.0.1, 2.1.0, 2.1.1, 2.10.0, 2.10.1, 2.11.0, 2.12.0, 2.13.0, 2.14.0, 2.14.1, 2.14.2, 2.15.0, 2.16.0, 2.16.1, 2.16.2, 2.16.3, 2.17.0, 2.17.1, 2.18.0, 2.19.0, 2.19.1, 2.19.2, 2.2.0, 2.2.1, 2.20.0, 2.21.0, 2.21.1, 2.21.2, 2.21.3, 2.22.0, 2.22.0-beta.1, 2.22.0-beta.2, 2.22.0-beta.3, 2.22.1, 2.22.2, 2.22.3, 2.23.0, 2.23.0-beta.1, 2.23.0-beta.2, 2.23.0-beta.3, 2.23.0-beta.4, 2.23.1, 2.24.0, 2.24.0-beta.1, 2.24.0-beta.2, 2.24.0-beta.3, 2.24.0-beta.4, 2.25.0, 2.25.0-beta.1, 2.25.0-beta.2, 2.25.0-beta.3, 2.25.1, 2.25.2, 2.3.0, 2.3.1, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.6.1, 2.7.0, 2.8.0, 2.9.0, 2.9.1] but these conflict with your requirements or minimum-stability.
- kabbouchi/nova-impersonate dev-master requires lab404/laravel-impersonate ^1.4.1 -> satisfiable by lab404/laravel-impersonate[1.4.1].
- kabbouchi/nova-impersonate dev-master requires lab404/laravel-impersonate ^1.4.1 -> satisfiable by lab404/laravel-impersonate[1.4.1].
- lab404/laravel-impersonate 1.4.1 requires laravel/framework 5.8.* | ^6.0 -> satisfiable by laravel/framework[5.8.x-dev, 6.x-dev].
- Conclusion: don't install laravel/framework 5.8.x-dev
- Installation request for kabbouchi/nova-impersonate dev-master -> satisfiable by kabbouchi/nova-impersonate[dev-master].
Here is my composer.json
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.1.3",
"algolia/scout-extended": "^1.0",
"anhskohbo/no-captcha": "^3.0",
"davejamesmiller/laravel-breadcrumbs": "5.x",
"fideloper/proxy": "^4.0",
"freshbitsweb/laratables": "^1.1",
"kabbouchi/nova-impersonate": "dev-master",
"laravel/framework": "5.7.*",
"laravel/nova": "*",
"laravel/scout": "^6.1",
"laravel/tinker": "^1.0",
"maatwebsite/excel": "^3.1",
"milon/barcode": "^5.3",
"nesbot/carbon": "^1.34",
"webpatser/laravel-uuid": "^3.0"
},
"require-dev": {
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
]
},
"repositories": [
{
"type": "path",
"url": "./nova"
}
],
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
If I change laravel/framework to 5.8.* I get even more errors. How can I correct this issue so that I can update?
Thanks
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2oz1849
via IFTTT
Aucun commentaire:
Enregistrer un commentaire