国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

php webman app-plugin:create創(chuàng)建應(yīng)用時(shí),報(bào)錯(cuò)

windows_1122334

問(wèn)題描述

使用 php webman app-plugin:create appName 創(chuàng)建應(yīng)用時(shí),報(bào)錯(cuò)

程序代碼

php webman app-plugin:create foo

報(bào)錯(cuò)信息

截圖

截圖報(bào)錯(cuò)信息里報(bào)錯(cuò)文件相關(guān)代碼

php webman app-plugin:create foo

操作系統(tǒng)及workerman/webman等框架組件具體版本

下圖是版本信息
截圖

394 2 0
2個(gè)回答

walkor 打賞

webman/event版本太老了,composer require webman/event 升級(jí)下

  • windows_1122334 2025-02-16

    composer 的taobao鏡像最高只到1.0.4,我換了官方鏡像,升級(jí)到了1.0.5就可以了

liziyu

執(zhí)行 php webman version 也會(huì)出錯(cuò):

PHP Fatal error:  Uncaught Symfony\Component\Console\Exception\LogicException: The command defined in "Webman\Event\EventListCommand" cannot have an empty name. in /Users/liziyu/website/huashi/vendor/symfony/console/Application.php:557
Stack trace:
#0 /Users/liziyu/website/huashi/webman(25): Symfony\Component\Console\Application->add(Object(Webman\Event\EventListCommand))
#1 {main}
  thrown in /Users/liziyu/website/huashi/vendor/symfony/console/Application.php on line 557

Fatal error: Uncaught Symfony\Component\Console\Exception\LogicException: The command defined in "Webman\Event\EventListCommand" cannot have an empty name. in /Users/liziyu/website/huashi/vendor/symfony/console/Application.php:557
Stack trace:
#0 /Users/liziyu/website/huashi/webman(25): Symfony\Component\Console\Application->add(Object(Webman\Event\EventListCommand))
#1 {main}
  thrown in /Users/liziyu/website/huashi/vendor/symfony/console/Application.php on line 557
  • walkor 2025-02-17

    我這沒(méi)復(fù)現(xiàn)

  • liziyu 2025-02-17

    不管它了,反正也不影響使用。

  • liziyu 2025-02-27

    回來(lái)補(bǔ)下解決辦法:刪除項(xiàng)目下vendor與composer.lock后,重新 composer install 解決了。

??