请问安装时遇到该问题如何解决?
、
安装时报错:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- zzstudio/think-addons[v1.0.0, ..., v1.0.4.2] require topthink/framework 5.1.* -> found topthink/framework[v5.1.0, ..., v5.1.42] but it conflicts with your root composer.json require (^6.1.0).
- zzstudio/think-addons[v2.0.0, ..., 2.0.5] require topthink/think-view ^1.0 -> found topthink/think-view[v1.0.0, ..., v1.0.14] but it conflicts with your root composer.json require (^2.0).
- Root composer.json requires zzstudio/think-addons * -> satisfiable by zzstudio/think-addons[v1.0.0, ..., v1.0.4.2, v2.0.0, ..., 2.0.5].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require zzstudio/think-addons:*" to figure out if any version is installable, or "composer require zzstudio/think-addons:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
请问安装时遇到该问题如何解决?
、
安装时报错:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- zzstudio/think-addons[v1.0.0, ..., v1.0.4.2] require topthink/framework 5.1.* -> found topthink/framework[v5.1.0, ..., v5.1.42] but it conflicts with your root composer.json require (^6.1.0).
- zzstudio/think-addons[v2.0.0, ..., 2.0.5] require topthink/think-view ^1.0 -> found topthink/think-view[v1.0.0, ..., v1.0.14] but it conflicts with your root composer.json require (^2.0).
- Root composer.json requires zzstudio/think-addons * -> satisfiable by zzstudio/think-addons[v1.0.0, ..., v1.0.4.2, v2.0.0, ..., 2.0.5].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require zzstudio/think-addons:*" to figure out if any version is installable, or "composer require zzstudio/think-addons:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.