jfmengels / node-elm-review

CLI for elm-review
https://package.elm-lang.org/packages/jfmengels/elm-review/latest/
BSD 3-Clause "New" or "Revised" License
48 stars 25 forks source link

`elm-review init` error: elm-json exited with exit code 1 #90

Open CharlonTank opened 1 year ago

CharlonTank commented 1 year ago

I'm trying to install elm-review in a project I'm working on right now but can't get elm-review init to work. I guess it has a connection with elm-json - tried with elm-json 0.2.12 and 0.2.13(last)

image

dvberkel commented 1 year ago

I experienced the same problem as @CharlonTank. I initially had installed elm-review globally, which the README warns about. I then installed elm-review locally which made the problem go away.

For what it is worth, below you can find the different versions that were installed

Mode Version
Global 2.6.1
Local 2.9.1

When I updated my globally installed version, everything worked for me again.