Closed better-maksim closed 1 year ago
Hi @better-maksim!
php-psr
extension?@butschster the composer loads roadrunner-bridge
v2.2 (master
branch using alias) that requres simple-cache v1.
Possible solutions:
minimum-stability dev
from spiral/app@better-maksim could you try again?
@roxblnfk @butschster .
Cannot install now.
composer version
➜ onearth.fun composer -v
Composer version 2.3.5 2022-04-13 16:43:0
psr extension
➜ onearth.fun php -m | grep psr
psr
➜ onearth.fun composer create-project spiral/app backend
Creating a "spiral/app" project at "./backend"
Installing spiral/app (v3.0.0)
- Installing spiral/app (v3.0.0): Extracting archive
Created project in /Users/guozhu/WorkSpace/onearth.fun/backend
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- spiral/roadrunner-bridge[2.0-beta, ..., 2.0.1] require psr/simple-cache 2 - 3 -> satisfiable by psr/simple-cache[2.0.0, 2.x-dev, 3.0.0, 3.0.x-dev].
- You can only install one version of a package, so only one of these can be installed: psr/simple-cache[1.0.0, 1.0.1, 2.0.0, 2.x-dev, 3.0.0, 3.0.x-dev].
- spiral/roadrunner-kv v2.2.0 requires psr/simple-cache ^1.0 -> satisfiable by psr/simple-cache[1.0.0, 1.0.1].
- Conclusion: install spiral/roadrunner-kv v2.2.0 (conflict analysis result)
- spiral/roadrunner-bridge 2.0.x-dev requires spiral/roadrunner-jobs ^2.6 -> found spiral/roadrunner-jobs[dev-master, dev-hotfix/payload-body, 1.0.x-dev (alias of dev-master), v2.0.0-beta1, ..., v2.5.0, v3.0.0, 3.x-dev] but it does not match the constraint.
- Root composer.json requires spiral/roadrunner-bridge ^2.0 -> satisfiable by spiral/roadrunner-bridge[2.0-beta, ..., 2.0.x-dev].
Coul you try to disable extension and try to install again?
Could you run composer why-not spiral/roadrunner-kv 3.0
please?
@roxblnfk @butschster
Thank you. It's already done
RoadRunner (v2.11.4) has been installed into /Users/guozhu/WorkSpace/onearth.fun/backend/rr
[OK] Your project is now ready in /Users/guozhu/WorkSpace/onearth.fun/backend
Whats Next?
===========
* For more detailed documentation, see the https://roadrunner.dev
* To run the application, use the following command: $ rr serve
What was the reason of impossibility to install app?
What was the reason of impossibility to install app?
i think it was fixed with spiral/roadrunner-kv 2.2.1 release
But we need to understand why Composer doesn't install spiral/roadrunner-kv 3.0