Duolith docs

Errors E0500 to E0599

E0513 Environment file line that cannot be read

Message file:line is not NAME=value

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

Why

duolith.env and duolith.<mode>.env hold one NAME=value per line, with # starting a comment. A line in another form would be silently lost.

How to fix it

Write NAME=value, such as DUOLITH_PUBLIC_API_URL=https://api.example.com, or start the line with #.

In a terminal

duolith explain E0513

Mentioned in