When upgrading from elm v0.17.1
to v0.18
we see the following error:
I cannot find module 'Html.App'.
the App
method was available in v1.1.0
of the Html
package
see: http://package.elm-lang.org/packages/elm-lang/html/1.1.0/Html-App
but appears to have been removed from v2.0.0
http://package.elm-lang.org/packages/elm-lang/html/2.0.0 hence the semver version bump...
Note: related to: Elm "cannot find module" (but this is specific to
Html.App
)
The contents of Html.App
were moved to the Html
package in version 0.18. You can simply import from Html
and remove references to Html.App
.
From the upgrade instructions:
elm-lang/html
collapsedHtml.App
intoHtml
. So you need to remove any importHtml.App
imports and refer toHtml.program
instead.
See the release notes here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With