Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORRUPT JSON when installing a 0.18 package on 0.19 #1792

Open
ktosiek opened this issue Sep 8, 2018 · 1 comment
Open

CORRUPT JSON when installing a 0.18 package on 0.19 #1792

ktosiek opened this issue Sep 8, 2018 · 1 comment

Comments

@ktosiek
Copy link

ktosiek commented Sep 8, 2018

Elm version: 0.19.0

When trying to install a package that is not yet available for 0.19 I'm getting a big, scary error:

$ elm install elm-community/result-extra
-- CORRUPT JSON ----------------------------------------------------------------

The elm.json for elm-community/list-extra 1.0.0 got corrupted somehow.

I removed it from my file cache, so if it was some transient error it should be
fixed if you try the same thing again. Please report this if it seems like an
Elm problem though!

I've tried running the command multiple times, and deleting ~/.elm/0.19.0/ - nothing changed.

@ktosiek ktosiek changed the title CORRUPT JSON when installing a 0.18 package CORRUPT JSON when installing a 0.18 package on 0.19 Sep 8, 2018
@wmakley
Copy link

wmakley commented Nov 7, 2018

I encountered this numerous times when upgrading my 0.18 project to 0.19. It took me a while to figure out I actually just had some dependencies that had not been upgraded yet, or was not using the correct version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants