May Sale! All accounts are 40% off this week.

dev.khosromanesh's avatar

how change path for vite manifest because of deploy

hello i used breeze for auth and deploy laravel project to cpanel move everything in public dir to zarin.menuroyal.ir and config main files problem i faced is defined a wrong src for vite manifest and got error

Vite manifest not found at: /home3/hosse118/zarin.menuroyal.ir/public/build/manifest.json

the correct path is

/home3/hosse118/zarin.menuroyal.ir/build/manifest.json

but i don't know how to change the src could someone help me please ?

0 likes
12 replies
Sinnbeck's avatar

So the root of your files are /home3/hosse118/zarin.menuroyal.ir?

Sinnbeck's avatar

Your env file is open for download! Fix it at once and change all of your codes at once as well!

Sinnbeck's avatar

@dev.khosromanesh let us know when you have fixed it as it might require you to point to the public directory as you are meant to. Just so we look into fixing the problem correctly

satyamveer's avatar

sir how to change the vite directory? this is the error I got Vite manifest not found at: /home/u526408953/domains/msicl.in/Pro/public/build/manifest.json

and my build folder is under the folder public_html. and all the project files are outside a folder Pro.

satyamveer's avatar

What I have done to solve this is by leaving the manifest.json in the folder project_folder/public/build and put the asset folder in the public_html/build folder. It is working fine. I know this might not be the correct way.

csaba_szekely's avatar

@satyamveer I have the same problem. Someone knows the answer to this question ? It is really frustrating to not be able to deploy the site after you worked for weeks/months to build it..... :(

Please or to participate in this conversation.