terezka / line-charts

Archived in favor of terezka/elm-charts.
https://terezka.github.io/line-charts
BSD 3-Clause "New" or "Revised" License
456 stars 45 forks source link

`elm package install` doesn't exist in elm 0.19.0 #52

Closed 0xlee closed 5 years ago

0xlee commented 6 years ago

Hi everyone,

I am very new to elm (2 days) and I see there is a new version of elm, 0.19.0, which is installed on my machine.

Now I wanted to run elm package install but the tool says that this command doesn't exist. elm install doesn't work either.

What would be the best way to build it and see the examples in elm 0.19.0? I also would like to change the READMEs if I get it work. Thanks in advance!

Best

0xlee commented 6 years ago

The 0.19.0 requires a elm.json file, and all the dependencies should have this file (I guess).

I did elm init and tried to install all dependencies with elm install [package] and it succeeded only with package debois/elm-dom and myrho/elm-round. This are the only ones which has a elm.json instead of elm-package.json.

Other packages are not ready yet.

joecorkerton commented 6 years ago

This package hasn't been update for 0.19 yet. @terezka are there plans to update this package? I have found it very useful

MarcCoquand commented 6 years ago

Would be a shame if this was not updated. Could we create a TODO of what needs to be done? Then I can help out.

terezka commented 6 years ago

Yes! I'm waiting one some dependencies being updates / me having the time to remove those dependencies (probably after elm-conf) - whichever comes first! Hope that's ok and thank you in advance for your patience!

JonRowe commented 6 years ago

Is there anything that could be done to help upgrading to 0.19?

terezka commented 6 years ago

Hi! The code is updated, but something is wrong with the package website and I can't publish the package. @evancz is looking into it. :)

JonRowe commented 6 years ago

Awesome! Thanks! Would love it if you could drop a mention here when this is released as I'm sure theres a few watchers waiting on this! Thanks for your hard work!

terezka commented 6 years ago

Sure!

terezka commented 6 years ago

Hi @JonRowe! The Elm 0.19 version should be published now. https://package.elm-lang.org/packages/terezka/line-charts/latest/

0xlee commented 5 years ago

Thanks! I'll close this issue :D

daveman1010221 commented 4 years ago

Hi. I'm also new to elm and am finding this page in January of 2020. Is 'elm package install' still relevant or is there some other way to make this work with an older project? I'm not really sure what the command did, so it's hard to fix it some other way. Thanks.

JonRowe commented 4 years ago

It's elm install [package]