Laravel:Class App\Console\Commands\BlockModelsIDNotShowup不存在
我正试图在生产服务器上对我的项目运行Laravel:Class App\Console\Commands\BlockModelsIDNotShowup不存在,laravel,Laravel,我正试图在生产服务器上对我的项目运行composer update,我不断收到以下错误: Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files > Illuminate\Foundation\ComposerScripts::postU
composer update
,我不断收到以下错误:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
> Illuminate\Foundation\ComposerScripts::postUpdate
> php artisan optimize
[ReflectionException]
Class App\Console\Commands\BlockModelsDidNotShowUp does not exist
Script php artisan optimize handling the post-update-cmd event returned with error code 1
在此之前,由于/storage/logs/laravel.log文件
,我有一个权限被拒绝的错误-我已经更新了该文件的权限,并且不断从上面得到一个错误
我已经尝试过了,但是我没有
bootstrap/cache/compiled.php
文件。如果删除了此类,只需使用以下命令清除缓存:
php artisan clear-compiled
或者手动删除
bootstrap/cache/services.php
文件。尝试composer dump autoload
并重新运行;也许能解决它