E0304 Rust module import outside the project's modules folder
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A Rust module is a folder of the project's own modules/, next to pages/ and components/. The import names a modules/ folder somewhere else, such as pages/modules/<name>, because it has fewer or more ../ steps than there are folders between the file and the project's root.
How to fix it
Write one ../ for each folder between the file and the project's root, then modules/<name> (pages/index.duo writes ../modules/<name>; pages/a/b.duo writes ../../modules/<name>).
In a terminal
duolith explain E0304