Closed
Description
I have a fresh install of Laravel 11.42.0 and when installing lodata i get a conflict.
composer.json
{
"$schema": "https://getcomposer.org/schema.json",
"name": "laravel/laravel",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
"keywords": [
"laravel",
"framework"
],
"license": "MIT",
"require": {
"php": "^8.2",
"laravel/framework": "^11.31",
"laravel/tinker": "^2.9"
},
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/pail": "^1.1",
"laravel/pint": "^1.13",
"laravel/sail": "^1.26",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.1",
"phpunit/phpunit": "^11.0.1"
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": true
}
},
"minimum-stability": "stable",
"prefer-stable": true
}
Error
composer require flat3/lodata:^5.33
./composer.json has been updated
Running composer update flat3/lodata
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires flat3/lodata ^5.33 -> satisfiable by flat3/lodata[v5.33.0, ..., v5.33.8].
- laravel/framework is locked to version v11.42.0 and an update of this package was not requested.
- carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal 3.9.4.
- flat3/lodata[v5.33.0, ..., v5.33.8] require doctrine/dbal ^3 -> satisfiable by doctrine/dbal[3.0.0, ..., 3.9.4].
- laravel/framework v11.42.0 requires nesbot/carbon ^2.72.6|^3.8.4 -> satisfiable by nesbot/carbon[3.8.5].
- laravel/framework v11.42.0 requires symfony/http-foundation ^7.2.0 -> satisfiable by symfony/http-foundation[v7.2.3].
- nesbot/carbon 3.8.5 requires carbonphp/carbon-doctrine-types <100.0 -> satisfiable by carbonphp/carbon-doctrine-types[3.2.0].
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.5.4.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.4.6.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.3.8.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.3.5.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.2.2.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.1.5.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.1.0.
- symfony/http-foundation v7.2.3 conflicts with doctrine/dbal 3.0.0.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
Metadata
Metadata
Assignees
Labels
No labels