You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Laravel 12.0.10, the closure passed to the withMiddleware() call now has a void return type (laravel/laravel#6628). Because of that, while installing Jetstream, the installMiddleware() method cannot find ->withMiddleware(function (Middleware $middleware) { (it's ->withMiddleware(function (Middleware $middleware): void { now) and add middleware to the web group.
Steps To Reproduce
laravel new jetstream-inertia-test --no-interaction cd jetstream-inertia-test composer require laravel/jetstream php artisan jetstream:install inertia
See that in bootstrap/app.php, there's nothing added to the web middleware group. There should be