Laravelでアプリを制作しているのですが、php artisan serve
で起動できません。
まだlaravelの学習を始めたばかりでわからないことだらけです。訳のわからないことをしているかもしれませんが、初心者でもわかりやすく教えていただけると助かります。
エラーコードは以下の通りです。よろしくお願いします。
RuntimeException
1 2 In order to use the Auth::routes() method, please install the laravel/ui package. 3 4 at vendor/laravel/framework/src/Illuminate/Support/Facades/Auth.php:56 5 52| */ 6 53| public static function routes(array $options = []) 7 54| { 8 55| if (! static::$app->providerIsLoaded(UiServiceProvider::class)) { 9 > 56| throw new RuntimeException('In order to use the Auth::routes() method, please install the laravel/ui package.'); 10 57| } 11 58| 12 59| static::$app->make('router')->auth($options); 13 60| } 14 15 1 routes/web.php:31 16 Illuminate\Support\Facades\Auth::routes() 17 18 +4 vendor frames 19 6 app/Providers/RouteServiceProvider.php:63 20 Illuminate\Routing\RouteRegistrar::group("/Applications/XAMPP/xamppfiles/htdocs/My-cocktail-search/routes/web.php")
「やってみます」では解決ではないと思います
回答1件
あなたの回答
tips
プレビュー