首页 > 解决方案 > 安装 Beyondcode/laravel-websockets 时出现作曲家错误

问题描述

我正在尝试beyondcode/laravel-websockets使用 composer 安装,但我遇到了这个错误,我已经将它与另一个 laravel 8 应用程序一起使用,它运行良好。

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

 Problem 1
   - Root composer.json requires laravel/framework ^8.54, found laravel/framework[v8.54.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
 Problem 2
   - laravel/passport is locked to version v10.1.4 and an update of this package was not requested.
   - laravel/passport v10.1.4 requires illuminate/auth ^8.2 -> found illuminate/auth[v8.2.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

标签: phplaravelcomposer-php

解决方案


推荐阅读