#47 most commondeployLovableBolt.newCursorReplitv0Windsurf
Images or files missing after deploy (404 on .png/.jpg/.svg)
GET https://myapp.com/src/assets/logo.png 404 (Not Found) / Failed to load resource: the server responded with a status of 404
Got a slightly different error? Paste the exact message and get a fix prompt tailored to it.
Paste your error →What it means
Your images worked in preview but the live site can't find them. The code points to where the file sits in your project folder, not where it ends up after the app is packaged.
How to fix it: paste this prompt into your AI builder
Fix prompt for Lovable, Bolt, Cursor, Replit, v0, Windsurf
Images/assets 404 on my deployed site. Find assets referenced by string paths like '/src/assets/...'. Either import them in code (import logo from '@/assets/logo.png') or move them into the public/ folder and reference them as '/logo.png'. Check file name casing matches exactly. Don't change layout or other files.
If the AI can't fix it: manual steps
- File names are case-sensitive on live servers: Logo.PNG and logo.png are different.
Where this happens
Seen in these AI app builders and editors:
LovableBolt.newCursorReplitv0Windsurf
Sources
Related deploy errors
Still stuck? Paste your full error and UnstuckMyVibe will match it and hand you the exact fix prompt.
Fix my error →