1 回答
TA贡献1155条经验 获得超0个赞
就我而言(当我运行下面的命令时):
>composer require league/flysystem-sftp
PHP 警告:模块“openssl”已在第 0 行未知加载
警告:模块“openssl”已在第 0 行未知中加载 使用 league/flysystem-sftp 的版本 ^2.0 ./composer.json 已更新 正在加载包含包信息的作曲家存储库 正在更新依赖项(包括 require-dev) 您的要求无法满足解析为一组可安装的软件包。
问题1
- Conclusion: don't install league/flysystem-sftp 2.0.2
- Conclusion: don't install league/flysystem-sftp 2.0.1
- Conclusion: don't install league/flysystem-sftp 2.0.0
- Conclusion: don't install league/flysystem-sftp 2.0.0-RC1
- Conclusion: don't install league/flysystem-sftp 2.0.0-beta.3
- Conclusion: don't install league/flysystem-sftp 2.0.0-beta.2
- league/flysystem-sftp 2.0.0-alpha.4 requires league/flysystem 2.0.0-alpha.3 -> satisfiable by league/flysystem[2.0.0-alpha.3].
- league/flysystem-sftp 2.0.0-beta.1 requires league/flysystem 2.0.0-alpha.3 -> satisfiable by league/flysystem[2.0.0-alpha.3].
- Conclusion: don't install league/flysystem 2.0.0-alpha.3
- league/flysystem-sftp 2.0.0-alpha.3 requires league/flysystem 2.0.0-alpha.2 -> satisfiable by league/flysystem[2.0.0-alpha.2].
- Conclusion: don't install league/flysystem 2.0.0-alpha.2
- Installation request for laravel/framework (locked at v6.20.3, required as ^6.2) -> satisfiable by laravel/framework[v6.20.3].
- league/flysystem-sftp 2.0.0-alpha.1 requires league/flysystem 2.0.0-alpha.1 -> satisfiable by league/flysystem[2.0.0-alpha.1].
- league/flysystem-sftp 2.0.0-alpha.2 requires league/flysystem 2.0.0-alpha.1 -> satisfiable by league/flysystem[2.0.0-alpha.1].
- Conclusion: don't install league/flysystem 2.0.0-alpha.1
- Conclusion: don't install league/flysystem-sftp 2.x-dev|remove league/flysystem 1.1.3|install league/flysystem 2.0.0-alpha.1|install league/flysystem 2.0.0-alpha.2|install league/flysystem 2.0.0-alpha.3
- Conclusion: don't install league/flysystem-sftp 2.x-dev|don't install league/flysystem 1.1.3|install league/flysystem
2.0.0-alpha.1|安装 league/flysystem 2.0.0-alpha.2|安装 league/flysystem 2.0.0-alpha.3 - league/flysystem-sftp ^2.0 -> 可满足 league/flysystem- 的安装请求sftp[2.0.0、2.0.0-RC1、2.0.0-alpha.1、2.0.0-alpha.2、2.0.0-alpha.3、2.0.0-alpha.4、2.0.0-beta。 1、2.0.0-beta.2、2.0.0-beta.3、2.0.1、2.0.2、2.x-dev]。- league/flysystem-sftp 2.x-dev 需要 league/flysystem ^2.0.0 -> 可以满足 league/flysystem[2.0.0, 2.0.0-RC1, 2.0.0-alpha.1, 2.0.0-alpha .2、2.0.0-α.3、2.0.0-α.4、2.0.0-β.1、2.0.0-β.2、2.0.0-β.3、2.0.1、2.0.2 ,2.x-dev]。
- Can only install one of: league/flysystem[2.0.0, 1.1.3].
- Can only install one of: league/flysystem[2.0.0-RC1, 1.1.3].
- Can only install one of: league/flysystem[2.0.0-alpha.4, 1.1.3].
- Can only install one of: league/flysystem[2.0.0-beta.1, 1.1.3].
- Can only install one of: league/flysystem[2.0.0-beta.2, 1.1.3].
- Can only install one of: league/flysystem[2.0.0-beta.3, 1.1.3].
- Can only install one of: league/flysystem[2.0.1, 1.1.3].
- Can only install one of: league/flysystem[2.0.2, 1.1.3].
- Can only install one of: league/flysystem[2.x-dev, 1.1.3].
- Installation request for league/flysystem (locked at 1.1.3) -> satisfiable by league/flysystem[1.1.3].
安装失败,将 ./composer.json 恢复为其原始内容。
我已修复上述错误如下:
>composer require league/flysystem-sftp 1.*
TA贡献1886条经验 获得超2个赞
- 1 回答
- 0 关注
- 245 浏览
添加回答
举报