Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer 依赖冲突 #51

Closed
shirohako opened this issue Jan 8, 2024 · 2 comments
Closed

composer 依赖冲突 #51

shirohako opened this issue Jan 8, 2024 · 2 comments

Comments

@shirohako
Copy link

shirohako commented Jan 8, 2024

使用的环境:Ubuntu 22.04
SSPanel-Uim 分支选择的是 2023.6

$ php composer.phar install --no-dev

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

  Problem 1
    - moneyphp/money is locked to version v4.2.0 and an update of this package was not requested.
    - moneyphp/money v4.2.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.3.1) does not satisfy that requirement.
  Problem 2
    - moneyphp/money v4.2.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (8.3.1) does not satisfy that requirement.
    - omnipay/common v3.2.1 requires moneyphp/money ^3.1|^4.0.3 -> satisfiable by moneyphp/money[v4.2.0].
    - omnipay/common is locked to version v3.2.1 and an update of this package was not requested.
@shirohako
Copy link
Author

shirohako commented Jan 8, 2024

看了moneyphp/money 4.3.0 的 requires 最高是 php8.3
php 8.3.1 安装会失败,总之 加上 --ignore-platform-reqs安装上了

@shirohako
Copy link
Author

另外导入配置一步

$ php xcat Tool importSetting
方法不存在

看了下源码,已经变成 importAllSettings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant