Laravel php error Vite manifest not found

i got following error in after deployment of laravel php web on render :

Vite manifest not found at: /var/www/html/public/build/manifest.json (View: /var/www/html/resources/views/layouts/app.blade.php) (View: /var/www/html/resources/views/layouts/app.blade.php)

as i found that npn run build will solve this issue but how to command in render as there is no console in free version so can you plz help i have only free version .

Add npm run build to your Build Command.

it was npm run build but does not work after adding it to docker command as you said.
:unamused:

Any new errors?

Yssss,

Here’s my repo: GitHub - craziks-creator/ExaminationSystem

I just published a tutorial on deploying Laravel 10 on Render, you can see how I use npm run build in my Dockerfile. The tutorial includes adding Memcached too, but you can just ignore that bit.

ok i will check it :+1:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.