问题描述
使用软件包信息加载composer存储库更新依赖关系(包括require-dev)软件包操作:安装0次,更新0次,删除1次 -去除Genealabs/laravel-caffeine(0.3.12)写入锁定文件生成优化的自动加载文件
Loading composer repositories with package informationUpdating dependencies (including require-dev)Package operations: 0 installs, 0 updates, 1 removal - Removing genealabs/laravel-caffeine (0.3.12)Writing lock fileGenerating optimized autoload files
[Symfony \ Component \ Debug \ Exception \ FatalThrowableError]
找不到类'GeneaLabs \ LaravelCaffeine \ LaravelCaffeineServiceProvider'
[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'GeneaLabs\LaravelCaffeine\LaravelCaffeineServiceProvider' not found
脚本@php artisan包:发现处理错误代码为1的返回的autoload-dump事件
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
推荐答案
将其添加到composer.json
中.然后必须在您的项目中明确安装黄昏:
Add this in composer.json
. Then dusk has to be installed explicitly in your project:
"extra": {
"laravel": {
"dont-discover": [
"laravel/dusk"
]
}
},
这篇关于脚本@php artisan软件包:发现处理返回的错误代码为1的post-autoload-dump事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!