Skip to content

Fix this error

Laravel: Vite manifest not found

Dasun Kalupahana 255 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

  1. Build the assets: npm install then npm run build. This creates public/build/manifest.json.
  2. Deploy the whole public/build folder (on hosting without Node, build locally and upload it).
  3. For local development, keep npm run dev running instead.
npm install
npm run build

# check the result
ls public/build/manifest.json
Still stuck? Send us the full error and what you tried. We add the answers here.

Learn more on the blog

Get new articles in your inbox

Practical tutorials and deep dives, about once a week. No spam, unsubscribe anytime.

Privacy policy

Add DEV Talk to your Home Screen

  1. 1 Tap the Share button in Safari's toolbar.
  2. 2 Scroll down and tap Add to Home Screen.
  3. 3 Tap Add. Open it from the Home Screen to read like an app and to turn on notifications with the bell.

We use cookies to improve your experience and analyze traffic. By continuing, you agree to our Privacy Policy.