Fix this error
Laravel: Vite manifest not found
Dasun Kalupahana 254 views
The error
Error
Vite manifest not found at: /var/www/html/public/build/manifest.json
Why it happens
The page uses @vite(...) but the front-end assets were never built, or the public/build folder was not uploaded to the server. Locally it also happens when npm run dev is not running and no build exists.
How to fix it
- Build the assets:
npm installthennpm run build. This createspublic/build/manifest.json. - Deploy the whole
public/buildfolder (on hosting without Node, build locally and upload it). - For local development, keep
npm run devrunning instead.
npm install
npm run build
# check the result
ls public/build/manifest.json
Learn more on the blog
PostgreSQL vs MySQL Performance: Real Benchmarks Compared
Last updated: 7 November 2026. See the update log at the end."Which...
Secure a Laravel App Before Production: Tested Checklist
Last updated: 8 November 2026. See the update log at the end.Laravel...
How to Detect and Fix PHP Memory Leaks
Last updated: 5 November 2026. See the update log at the end.In...