Skip to content

ogygia error

image_outside_src

‹file›: an image must sit under ‹src›/, outside src/lib/server/ and test files, for the image endpoint to read it.

Files are made from an image when a page asks for them, by the server, which reads the original with Kit's read(). Kit can only read an asset its server bundle carries; the image plugin makes every image under src/ one of them, except src/lib/server/ (never published) and test files (*.test.*, *.spec.*, __tests__/). Move the file under src/ (a $lib folder, or beside the page or document that shows it).

Every error and warning