I'm trying to play a little with Knit (0.17). But I can not run this simple example:
import Graphics.Element exposing (..) main = show "Hello!"
When starting elm reactor , the following error is displayed:
I can not find the module "Graphics.Element".
The 'Main' module is trying to import it.
Possible problems may be:
- Fixed module name
- You must add the source directory or a new dependency in elm-package.json
I executed the elm package install evancz/elm-graphics and it was executed successfully. I also see this when opening localhost: 8000 under the Dependencies sidebar.
When looking at other examples, they do the import in the same way.
What could cause the problem?
elm
Bene
source share