Duolith docs

Errors E0300 to E0399

E0354 Public file not found

Message public/file does not exist

Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.

Why

An image's src written as a path from the site root (src="/images/lake.svg") names a file the project's public/ folder does not have, so the image would never load and only its fallback would show.

How to fix it

Put the file in public/ at that path, or fix the path. /images/lake.svg is public/images/lake.svg.

In a terminal

duolith explain E0354

Mentioned in