image icon indicating copy to clipboard operation
image copied to clipboard

IPX: File not found when using SVGS from public

Open jpengelbrecht opened this issue 2 years ago • 3 comments
trafficstars

There seems to be a problem when loading SVGs from the public directory. If you try you get the error Error: [404] IPX: File not found.

i cant find anything in the documentation regarding this, am i missing something? Or is this not supported?

as a side note, everything 100% works on npm run dev. however it explodes on npm run generate.

edit: it seems it depends on the type of SVG. The simple cloud search one works but the techcrunch one doesnt CloudSearch

techcrunch-ar21 1

jpengelbrecht avatar Sep 21 '23 16:09 jpengelbrecht

We have encountered similar issue. Time to to time svgs are not loaded and server returns 204 No content error. After page refresh 80% of times image is returned and rendered correctly

AndrisVNI avatar Oct 05 '23 13:10 AndrisVNI

I have encountered the same situation as well. It worked fine when I tested it locally, but after deploying it to the server and using Cloudflare, I ran into issues. Almost all the SVGs are returning a 204 status code, and it doesn't seem to be a problem with Cloudflare.

Mintimate avatar Oct 06 '23 23:10 Mintimate

These are breaking on Netlify as well. Works locally. I'm using the NuxtPicture component.

mctweb avatar Dec 08 '23 10:12 mctweb