Laravel deploy "Vite manifest not found" error
Hi!
I want to deploy my laravel project to a shared host and I get this error :
Vite manifest not found at /home/domainroot/laravel/public/build/manifest.json
My folder structure is :
`/laravel/____project files
/public_html/___public files`
on the shared host, and I have the manifest.json file in the /public_html/build/manifest.json
- I runed
npm update also npm install and npm run build before uploading files to the host.
I searched the forums and the net but did't find a solution to my problem....
Deploy laravel on shared hosting "Vite manifest not found" error
Why is vite looking for the manifest.json in /home/domainroot/laravel/public/build/ and not in /home/domainroot/public_html/build/ ??
How do I change the PATH were vite searches for the manifes.json ?
i think you have forgotten to build the file on server
Please or to participate in this conversation.