elm-lang / elm-platform

Bundle of all core development tools for Elm
BSD 3-Clause "New" or "Revised" License
762 stars 125 forks source link

Install of Elm on Windows 10 gets error message in elm-repl about version. #196

Closed RobertSwirsky closed 7 years ago

RobertSwirsky commented 7 years ago

Just starting to learn elm, and hit an odd problem. The elm-repl says elm 0.18.0 is too new for the repl to work

Installed it using the Windows installer as described here: https://guide.elm-lang.org/install.html

D:\repos\thrillscience.learnelm [master ≡]> elm repl
---- elm-repl 0.18.0 -----------------------------------------------------------
 :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------
> 1 / 2
Error: You are using Elm 0.18.0, but this project is saying it needs a version
in this range: 0.17.1 <= v < 0.18.0

This means this package has not been upgraded for the newer version of Elm yet.
Check out the upgrade docs for guidance on how to get things working again:
<https://github.com/elm-lang/elm-platform/tree/master/upgrade-docs>
process-bot commented 7 years ago

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

JoeyEremondi commented 7 years ago

Is there an elm-package.json in the directory you're using? What are its contents? Did you install Elm-Repl via the Elm-platform?

On Mon, Jan 23, 2017 at 11:57 AM, Process Bot notifications@github.com wrote:

Thanks for the issue! Make sure it satisfies this checklist https://github.com/process-bot/contribution-checklist/blob/master/issues.md. My human colleagues will appreciate it!

Here is what to expect next https://github.com/process-bot/contribution-checklist/blob/master/expectations.md, and if anyone wants to comment, keep these things https://github.com/process-bot/contribution-checklist/blob/master/participation.md in mind.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/elm-lang/elm-platform/issues/196#issuecomment-274599137, or mute the thread https://github.com/notifications/unsubscribe-auth/ACzn0uL7pJT2L_s4_g-UaxTUiS56h9tyks5rVQY3gaJpZM4Lreav .

RobertSwirsky commented 7 years ago

Thanks! That was it. I was in a directory that I had started some months ago, and I guess the elm-package.json was confusing it. I went to a fresh directory and it works

D:\repos> elm-repl
---- elm-repl 0.18.0 -----------------------------------------------------------
 :help for help, :exit to exit, more at <https://github.com/elm-lang/elm-repl>
--------------------------------------------------------------------------------
> 1 / 2
0.5 : Float

I'll close this. Thanks for the quick response. As I said, I'm a "noob" and have no bearings yet.