composer dump-autoload 时发生错误……UrlGenerator.php 第 120 行
出现了 UrlGenerator.php 第 120 行的错误……我也不太清楚原因……看来得找找原因了。 1 小时后 到现在还没找到原因。 <https://stackoverflow.com/questions/45152585/laravel php artisan produces error 找到了。说的是不要
GGAMI
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
In UrlGenerator.php line 120:
Argument 2 passed to Illuminate\Routing\UrlGenerator::__construct() must be an instance of Illuminate\Http\Request, null given, called in C:\dev\vendor\laravel\framework\src\Illuminate\Routing\RoutingServiceProvider.php on line 65
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1