[SOLVED] How to fix Vite manifest not found at: /app/public/build/manifest.json?

Question

This Content is from Stack Overflow. Question asked by Masofke

It works locally just fine, but as I deploy it to a host, this popped up, not sure what to look or what to do.

enter image description here

Any suggestions? thanks


Solution

I would suggest running npm install && npm run dev as this seems like a default laravel app.

This would generate the correct files for local development.

If you want to run this in production you should run npm run prod somewhere in your build pipeline.


Answered by MrK


This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 4.0.

people found this article helpful. What about you?