Detected problems in 2 modules.
-- AMBIGUOUS IMPORT ------------------------------- src/Data/HttpDataApplets.elm
You are trying to import a `Json.Decode.Extra` module:
4| import Json.Decode.Extra exposing (andMap)
^^^^^^^^^^^^^^^^^
But multiple packages in your "dependencies" that expose a module that name:
waratuman/json-extra
elm-community/json-extra
There is no way to disambiguate in cases like this right now. Of the known name
clashes, they are usually for packages with similar purposes, so the current
recommendation is to pick just one of them.
Note: It seems possible to resolve this with new syntax in imports, but that is
more complicated than it sounds. Right now, our module names are tied to GitHub
repos, but we may want to get rid of that dependency for a variety of reasons.
That would in turn have implications for our package infrastructure, hosting
costs, and possibly on how package names are specified. The particular syntax
chosen seems like it would interact with all these factors in ways that are
difficult to predict, potentially leading to harder problems later on. So more
design work and planning is needed on these topics.
Data.HttpDataApplets ↑
====o======================================================================o====
↓ Data.HttpDataAppletArtifact
-- AMBIGUOUS IMPORT ------------------------ src/Data/HttpDataAppletArtifact.elm
You are trying to import a `Json.Decode.Extra` module:
4| import Json.Decode.Extra exposing (andMap)
^^^^^^^^^^^^^^^^^
But multiple packages in your "dependencies" that expose a module that name:
waratuman/json-extra
elm-community/json-extra
There is no way to disambiguate in cases like this right now. Of the known name
clashes, they are usually for packages with similar purposes, so the current
recommendation is to pick just one of them.
Note: It seems possible to resolve this with new syntax in imports, but that is
more complicated than it sounds. Right now, our module names are tied to GitHub
repos, but we may want to get rid of that dependency for a variety of reasons.
That would in turn have implications for our package infrastructure, hosting
costs, and possibly on how package names are specified. The particular syntax
chosen seems like it would interact with all these factors in ways that are
difficult to predict, potentially leading to harder problems later on. So more
design work and planning is needed on these topics.
Quick Summary: When two packages use the same Module.Name, the last added via
elm install
can't be usedReference: #1625
Packages
elm-community/json-extra
waratuman/json-extra
SSCCE
Compiler output