Hi Everyone,
Here's a strange puzzle!
While upgrading some old 0.17 to 0.18. I received this error message:
```
I cannot find module 'String'.
Module 'Adventure' 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
```
Here's the section of the `Adventure` module that's trying to import
`String`:
```
module Adventure exposing (..)
import Html exposing (..)
import Html.Attributes exposing (..)
import Html.Events exposing (..)
import String
```
I know that `String` is part of `core`, and checking my
`elm-stuff/exact-dependencies.json` file, I can see that the latest version
of `core` is installed:
```
{
"elm-lang/animation-frame": "1.0.1",
"mdgriffith/elm-style-animation": "3.5.1",
"elm-lang/virtual-dom": "2.0.3",
"elm-lang/html": "2.0.0",
"elm-community/list-extra": "4.0.0",
"elm-lang/svg": "2.0.0",
"elm-lang/core": "5.0.0"
}
```
And checking the `packages/elm-lang` confirms that it's there.
I've tried deleting `elm-stuff` and rebuilding, but that doesn't fix the
problem.
Can anyone suggest where I should look next, or what I should try?
Thanks!!
--
You received this message because you are subscribed to the Google Groups "Elm
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.