elm-lang / elm-platform

Bundle of all core development tools for Elm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

RobertSwirsky opened this issue · comments

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>

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.

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.