composer 安装workman失败

206 阅读1分钟

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

Problem 1 - Root composer.json requires topthink/think-worker ^4.0 -> satisfiable by topthink/think-worker[v4.0.0]. - topthink/think-worker v4.0.0 requires workerman/workerman ^3.5.23 -> found workerman/workerman[v3.5.23, ..., v3.5.35] but it conflicts with your root composer.json require (^4.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.

使用composer require topthink/think-worker=3.5.35 -vvv来制定版本安装