php-pm-httpkernel icon indicating copy to clipboard operation
php-pm-httpkernel copied to clipboard

Laravel version 7.6.2 cannot installl, The dependency conflicts

Open wilbur-yu opened this issue 4 years ago • 9 comments

artisan -V --ansi Laravel Framework 7.6.2

composer why-not php-pm/php-pm 2.0.3 -t -r php-pm/php-pm 2.0.2 PHP-PM is a process manager, supercharger and load balancer for PHP applications. ├──php-pm/php-pm 2.0.3 (requires symfony/error-handler ^4.4) (circular dependency aborted here) └──laravel/laravel (does not require symfony/error-handler but v5.0.7 is installed) (circular dependency aborted here)

composer require php-pm/httpkernel-adapter -vvv - Can only install one of: symfony/event-dispatcher[4.4.x-dev, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.0, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.0-BETA1, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.0-BETA2, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.0-RC1, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.1, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.2, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.3, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.4, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.5, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.6, v5.0.7]. - Can only install one of: symfony/event-dispatcher[v4.4.7, v5.0.7]. - Installation request for symfony/event-dispatcher (locked at v5.0.7) -> satisfiable by symfony/event-dispatcher[v5.0.7].

wilbur-yu avatar Apr 18 '20 15:04 wilbur-yu

What is your install command? Are you upgrading dependencies?

andig avatar Apr 18 '20 15:04 andig

What is your install command? Are you upgrading dependencies?

I am planning to use your project in Laravel, but there was a dependency conflict when installing the php-pm/httpkernel-adapter package. I first introduced the composer require php-pm / php-pm package in the project, and then reported an error when introducing composer require php-pm / httpkernel-adapter

wilbur-yu avatar Apr 18 '20 16:04 wilbur-yu

Ok, but could you answer the question? What is your (verbatim) install command?

Viele Grüße, Andreas

Am 18.04.2020 um 18:02 schrieb wilbur [email protected]:

 What is your install command? Are you upgrading dependencies?

I am planning to use your project in Laravel, but there was a dependency conflict when installing the php-pm/httpkernel-adapter package. I first introduced the composer require php-pm / php-pm package in the project, and then reported an error when introducing composer require php-pm / httpkernel-adapter

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

andig avatar Apr 18 '20 17:04 andig

I don't understand what your mean by the installation command, do you mean composer? Let me talk about my installation process, 1.composer create-project laravel/laravel lv-pm 2.composer require php-pm/php-pm 3.composer require php-pm/httpkernel-adapter Then I got an error.

wilbur-yu avatar Apr 19 '20 08:04 wilbur-yu

Exactly. Could you please try as suggested and run composer with --update-with-dependencies?

andig avatar Apr 19 '20 08:04 andig

@andig I think I found the cause of the dependency conflict, but I have n’t determined which package caused it. Using the --update-with-dependencies option you mentioned in the current directory did not work. But I ’m working on a new laravel In the new pm project, the package was successfully introduced. So it should be the problem caused by the introduction of other packages. I will feedback after I am sure, thank you for your reply.

wilbur-yu avatar Apr 20 '20 05:04 wilbur-yu

You could also try --update-with-all-dependencies, symfony/error-handler ^5 is definitely allowed.

andig avatar Apr 20 '20 06:04 andig

You could also try --update-with-all-dependencies, symfony/error-handler ^5 is definitely allowed.

Yes, I am already doing this. Thanks for your suggestions.

wilbur-yu avatar Apr 20 '20 06:04 wilbur-yu

Did you solve this or could provide steps to reproduce from the point of installing Laravel on?

andig avatar Jun 02 '20 15:06 andig