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