最新版webman ai安装失败

ascuge

问题描述

宝塔安装最新版webman ai报错

报错信息

root@)))))))))))):/www/wwwroot/webman# composer require -W webman/admin webman/openai
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? 
Using version ^2.1 for webman/admin
Using version ^1.0 for webman/openai
./composer.json has been updated
Running composer update webman/admin webman/openai --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires webman/admin ^2.1 -> satisfiable by webman/admin[v2.1.1].
    - webman/admin v2.1.1 requires workerman/webman-framework >=2.1 -> found workerman/webman-framework[dev-master, v2.1.0, v2.1.1] but it conflicts with your root composer.json require (^1.6.8).

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

不管用哪个镜像都一样

114 1 0
1个回答

可能是镜像问题,指定版本试下

composer require -W webman/admin:^0.6 webman/openai
  • ascuge 3天前

    取消了镜像直接用官方也这样,我先试试指定版本

  • ascuge 3天前

    指定版本就可以正常装

×
🔝