Closed winson-young closed 1 year ago
补充一下环境 php:7.4.27 composer: 2.5.7 webman:1.5.0
./composer.json has been updated
Running composer update tinywan/exception-handler
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
- Locking tinywan/exception-handler (v1.1.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing tinywan/exception-handler (v1.1.5): Extracting archive
> support\Plugin::install
Script support\Plugin::install handling the post-package-install event terminated with an exception
In ClassLoader.php line 582:
include(/mnt/projects/app-backend/vendor/tinywan/exception-handler/src/Install.php): failed to open stream: No such file or 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 dump-autoload -o
重新生成classmap后解决
好的,吓我一条
走到安装插件的这一步就报错了,虽然再安装一次就不报错了,但是运行起来会有问题,config方法获取不了配置了。