composer remove taoser/webman-validate
composer remove top-think/think-validate
分別卸載 webman-validate及think-validate出現(xiàn)了以下錯誤
Script support\Plugin::uninstall handling the pre-package-uninstall event terminated with an exception
導(dǎo)至 composer.json 中的依賴項沒有了,但是文件實際還存在
webman版本:Webman-framework v1.3.9
你沒把具體的錯誤信息發(fā)出來
插件的bug,手動改下 vendor/taoser/webman-validate/src/Install.php
uninstallByRelation方法里
foreach ($validate_lang as $langPath) {
if (is_file($source)) {
unlink($langPath);
continue;
}
}
改成
foreach ($validate_lang as $langPath) {
if (is_file($langPath)) {
unlink($langPath);
continue;
}
}