Duolith docs

Errors E0500 to E0599

E0539 File that could not be read or written

Message could not write file: problem

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 add and duolith locales extract read and write the project's files: permissions.yaml, components/, the locales/ catalogues and the pages they rewrite. The system refused one. For locales extract nothing is rewritten before every catalogue is written.

How to fix it

Check that the file and its folder can be written (permissions, a full disk, a file open in another program), then run the command again.

In a terminal

duolith explain E0539

Mentioned in