laravel 更换windows盘符路径导致storage\logs不存在

In StreamHandler.php line 171:

There is no existing directory at “L:\Work\PHP\cxybj.com\storage\logs” and its not buildable: No such file or directory

解决办法删除./bootstrap/cache 里的文件

发现报错 :

Class ‘BeyondCode\DumpServer\DumpServerServiceProvider’ not found

执行 composer install –optimize-autoloader –no-dev

以上可以解决问题,还有的说执行composer update —no-plugins,可以再执行下试试。