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

Your requirements could not be resolved to an installable set of packages #19

Closed
declum opened this issue Oct 30, 2021 · 1 comment
Closed

Comments

@declum
Copy link

declum commented Oct 30, 2021

With the latest laravel, both renoki-co/php-k8s and laravel-php-k8s is not getting installed.

$ curl -s https://laravel.build/example-app | bash
....
Thank you! We hope you build something incredible. Dive in with: cd example-app && ./vendor/bin/sail up

$ composer require renoki-co/php-k8s
Using version ^3.1 for renoki-co/php-k8s
./composer.json has been updated
Running composer update renoki-co/php-k8s
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- renoki-co/php-k8s[3.1.0, ..., 3.1.6] require ratchet/pawl ^0.3.5 -> satisfiable by ratchet/pawl[v0.3.5].
- ratchet/pawl v0.3.5 requires ratchet/rfc6455 ^0.3 -> satisfiable by ratchet/rfc6455[v0.3].
- ratchet/rfc6455 v0.3 requires guzzlehttp/psr7 ^1.0 -> found guzzlehttp/psr7[1.0.0, ..., 1.x-dev] but the package is fixed to 2.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- Root composer.json requires renoki-co/php-k8s ^3.1 -> satisfiable by renoki-co/php-k8s[3.1.0, ..., 3.1.6].

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.

$ composer require renoki-co/laravel-php-k8s
Using version ^3.1 for renoki-co/laravel-php-k8s
./composer.json has been updated
Running composer update renoki-co/laravel-php-k8s
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- ratchet/rfc6455 v0.3 requires guzzlehttp/psr7 ^1.0 -> found guzzlehttp/psr7[1.0.0, ..., 1.x-dev] but the package is fixed to 2.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- renoki-co/laravel-php-k8s 3.1.0 requires renoki-co/php-k8s ^3.1 -> satisfiable by renoki-co/php-k8s[3.1.0, ..., 3.1.6].
- renoki-co/php-k8s[3.1.0, ..., 3.1.6] require ratchet/pawl ^0.3.5 -> satisfiable by ratchet/pawl[v0.3.5].
- ratchet/pawl v0.3.5 requires ratchet/rfc6455 ^0.3 -> satisfiable by ratchet/rfc6455[v0.3].
- Root composer.json requires renoki-co/laravel-php-k8s ^3.1 -> satisfiable by renoki-co/laravel-php-k8s[3.1.0].

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.

@declum
Copy link
Author

declum commented Oct 30, 2021

composer require guzzlehttp/psr7:1.8.3

Seems to solve the problem

@rennokki rennokki closed this as completed Nov 6, 2021
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