bynk.project.file_and_directory
Error A unit exists as both a file and a directory.
A unit's name comes from its path: commons money lives in money.bynk, or in the files of a directory money/. With both, the path no longer says where money lives, or which unit the directory's files belong to, so the project is refused. Keep one: move the file into the directory, or fold the directory into the file.
Example
src/money.bynk // ✗ `money/` is a directory toosrc/money/rates.bynk
src/money/core.bynk // ✓ one directory, both files `commons money`src/money/rates.bynkIn the Book
See also
- Every code in its category, Project, on the diagnostic index.
bynk explain bynk.project.file_and_directoryshows the same from the installed toolchain, without a network.