stoeffel / elm-verify-examples

BSD 3-Clause "New" or "Revised" License
167 stars 14 forks source link

Running elm-test after elm-verify-examples fails #74

Closed zwilias closed 6 years ago

zwilias commented 6 years ago

Running elm-test after running elm-verify-examples fails with an error:

Received invalid JSON from test interface search: SyntaxError: Unexpected token n JSON at position 0

The data it's trying to parse as JSON is something like this:

elmi-to-json failed for:
all

I didn't find a module for the interface /Users/ilias/Src/elm/elm-rosetree/elm-stuff/generated-code/elm-explorations/test/elm-stuff/0.19.0/VerifyExamples-Tree-ReplaceLabel0.elmi.

It appears that elm-verify-examples removes the generated code but not the interface files. elm-test then runs elmi-to-json, which tries to lookup the matching modules.

stoeffel commented 6 years ago

cc @rtfeldman. The fix should be in elmi-to-json. It shouldn't fail on elmis if the corresponding source got removed.

stoeffel commented 6 years ago

cc @rtfeldman. The fix should be in elmi-to-json. It shouldn't fail on elmis if the corresponding source got removed.

stoeffel commented 6 years ago

Fix in elmi-to-json got published elmi-to-json@0.19.0. thanks to @zwilias ❤️

stoeffel commented 6 years ago

this should be resolved once elm-test uses the latest version of elmi-to-json