laravel 异常参数 #1 ($directory) 不能为空
laravel exception Argument #1 ($directory) cannot be empt
我只想要运行我的项目,我申请:
php artisan serve
我得到:
In RecursiveDirectoryIterator.php line 41:
RecursiveDirectoryIterator::__construct(): Argument #1 ($directory) cannot be empty
为什么??
您是否删除了配置文件夹或某些 Laravel 文件夹?
无论如何你可以试试 运行:
composer update
或
composer update --no-scripts
清除缓存后
php artisan config:cache
php artisan config:clear
php artisan cache:clear
恐怕我需要更多的上下文来帮助你。
我只想要运行我的项目,我申请:
php artisan serve
我得到:
In RecursiveDirectoryIterator.php line 41:
RecursiveDirectoryIterator::__construct(): Argument #1 ($directory) cannot be empty
为什么??
您是否删除了配置文件夹或某些 Laravel 文件夹?
无论如何你可以试试 运行:
composer update
或
composer update --no-scripts
清除缓存后
php artisan config:cache
php artisan config:clear
php artisan cache:clear
恐怕我需要更多的上下文来帮助你。