laravel / framework

The Laravel Framework.
https://laravel.com
MIT License
32.53k stars 11.02k forks source link

laravel authentication Vite manifest file issue #53257

Closed parasshah438 closed 3 weeks ago

parasshah438 commented 3 weeks ago

Laravel Version

11.28.1

PHP Version

8.2.13

Database Driver & Version

8.2.0

Description

Error: Internal Server Error - Unable to locate file in Vite manifest: resources/css/app.css

Steps To Reproduce

I install a fresh laravel app

composer create-project laravel/laravel laraapp --dev composer require laravel/ui --dev php artisan ui bootstrap --auth Install npm and Asset Bundling (Vite) npm run build

I also checked inside the public directory, and it generated a build folder.

Run the app http://127.0.0.1:8000 then show this error

Internal Server Error - Unable to locate file in Vite manifest: resources/css/app.css.

crynobone commented 3 weeks ago

laravel/ui is no longer recommended for new projects and does use Vite. Please use laravel/breeze, laravel/jetstream or laravel/fortify for authentication.