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

laminas/laminas-diactoros on clean Laravel 10 #107

Closed
arianmasselink opened this issue Apr 29, 2023 · 2 comments
Closed

laminas/laminas-diactoros on clean Laravel 10 #107

arianmasselink opened this issue Apr 29, 2023 · 2 comments

Comments

@arianmasselink
Copy link

I've just installed a clean Laravel 10 and tried to add your newest version. I get following error when I composer require:

composer require aimeos/aimeos-laravel:~2023.04.1
./composer.json has been updated
Running composer update aimeos/aimeos-laravel
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- laminas/laminas-diactoros[2.5.0, ..., 2.6.0] require php ^7.3 || ~8.0.0 -> your php version (8.1.18) does not satisfy that requirement.
- laminas/laminas-diactoros[2.7.0, ..., 2.24.2] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but it conflicts with your root composer.json require (^2.0).
- laminas/laminas-diactoros[2.25.0, ..., 2.25.2] require psr/http-message ^1.1 -> found psr/http-message[1.1] but it conflicts with your root composer.json require (^2.0).
- aimeos/aimeos-laravel 2023.04.1 requires laminas/laminas-diactoros ~2.5 -> satisfiable by laminas/laminas-diactoros[2.5.0, ..., 2.25.2].
- Root composer.json requires aimeos/aimeos-laravel ~2023.04.1 -> satisfiable by aimeos/aimeos-laravel[2023.04.1].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Could somebody help me with this?

@arianmasselink
Copy link
Author

Fixed it by downgrading psr/http-message from ^2.0 to ^1.1

@aimeos aimeos changed the title Installation on clean Laravel 10 laminas/laminas-diactoros on clean Laravel 10 Apr 29, 2023
@aimeos aimeos pinned this issue Apr 29, 2023
@kras95
Copy link

kras95 commented May 26, 2023

Fixed it by downgrading psr/http-message from ^2.0 to ^1.1

Thank you, that worked 👍

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

2 participants