Hi,
I am confused. I have code like this:
BannersView.elm:
module Banners.View exposing (view)
– …
Main.elm:
– …
import Banners.View
– …
Banners.View.view …
This produces the following error at compile time:
I cannot find module ‘Banners.View’.
Module ‘ZKMain’ is trying to import it.
Potential problems could be:
- Misspelled the module name
- Need to add a source directory or new dependency to elm-package.json
However, if I remove the dot from the module name (i.e. name it BannersView), everything compiles fine.
Is there some trick in elm-package.json to make the name with a dot work correctly?
Best,
Michal