elm-json
elm-json copied to clipboard
Compilation fails with Elm 0.13
After doing elm-get install lambdatoast/elm-json 0.3.4
an elm --make --only-json Main.elm
fails when compiling Json.Decoder
. The specific output is as follows:
$ elm --make --only-js Main.elm
[1 of 12] Compiling Json.Output ( elm_dependencies/lambdatoast-elm-json/0.3.4/Json/Output.elm )
[2 of 12] Compiling Json.Process ( elm_dependencies/lambdatoast-elm-json/0.3.4/Json/Process.elm )
[3 of 12] Compiling Json.Accessor ( elm_dependencies/lambdatoast-elm-json/0.3.4/Json/Accessor.elm )
[4 of 12] Compiling Json.Decoder ( elm_dependencies/lambdatoast-elm-json/0.3.4/Json/Decoder.elm )
Import Error: Could not import value 'Json.Output.Error'.
It is not exported by module Json.Output
I took a look at the failing files, it doesn't look like anything's wrong with it to me. I'm wondering if elm is getting confused about the modules it's importing.
Alright I'll take a look. Thanks for reporting.
This is probably fixed by my pull request : https://github.com/lambdatoast/elm-json/pull/2
Hey folks, sorry I haven't had the time to review this issue.
Note that this library is now pretty much obsolete. Elm 0.14 was just released, with a very similar (and improved) JSON library. So if it's feasible, you should definitely upgrade to Elm 0.14 and use that instead.