webman-php / console

webman console plugin
https://www.workerman.net/webman
22 stars 14 forks source link

php 8.1下 console插件的安装问题 #9

Closed euii closed 2 years ago

euii commented 2 years ago

php 8.1.8 Composer version 2.3.10 2022-07-13 15:48:23

运行composer require webman/console后报如下错误

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] [--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>...]
walkor commented 2 years ago
image

php 8.1.8 这里测试没有看到你说的问题