php版本 8.0.2 "workerman/webman-framework": "^1.5.0"
webman/console错误,这个错误我重复引入就会消失
当我自己手动在config/plugin/webman/console/app.php后执行
php webman phar:pack webman 命令不存在
PS D:\phpstudy_pro\WWW\wallet-z\wallet-admin-webman> composer require webman/console
./composer.json has been updated
Running composer update webman/console
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
support\Plugin::install
Script support\Plugin::install handling the post-package-install event terminated with an exception
In Install.php line 21:
copy(): The second argument to copy() function cannot be a directory
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]
composer require webman/console
#### 报错信息
Could not open input file: webman
这里粘贴截图
window10
php 8.0.2
composer 2.5.5
看下项目根目录下是不是有个webman文件夹,删掉
是的 是有的 删掉了 但是删掉后 compose没有创建对应的文件
composer remove webman/console 后重新装
他下面还有
event/app.php event/bootstarp.php event/command.php 文件 可以不要吗?
这些不是框架的文件,不知道你是哪来的
是的解决了 感谢大大