E1101: module has no canonical facade
An import names a module that the compiler cannot find on disk.
An import names a module that the compiler cannot find on disk. A module is
either one file, src/shapes.act, or a directory with a canonical facade, a
file with the same name as the directory: src/shapes/shapes.act
(ADR-0018). The same error is reported for a subdirectory of a module that has
no facade of its own, and for a std module that does not exist. The message
names the facade file that the compiler expected. The report is on the file that
imports the module and has no line and column.
Example
actus
actus
actus
actus
actus
Fix
Create the facade. It lists the siblings that the module exports with
open.
actus
actus
actus
Run actus explain E1101 in your terminal to read this entry offline. Browse Modules & rules or all error codes.