Closed dusky3 closed 8 years ago
That line (2) tries to read an argument. When you "run updatepath.vbs" yourself, do you provide it an argument?
Actually, have you checked that the installer hasn't added Elm to the PATH? Maybe it has added it to the User's PATH, and the fact that running the repl still gives you 0.17 is just because the old version is on the System's PATH?
That line (2) tries to read an argument. When you "run updatepath.vbs" yourself, do you provide it an argument?
No.
Actually, have you checked that the installer hasn't added Elm to the PATH? Maybe it has added it to the User's PATH, and the fact that running the repl still gives you 0.17 is just because the old version is on the System's PATH?
You are right, it is in the user's PATH along with the old version (0.16) which I just deleted from the PATH, but no 0.17 is there which is weird. I tried the repl in Lighttable and it uses 0.17.1. I opened the command prompt again and it still runs 0.17, but the git-bash which I have installed uses 0.17.1 like Lighttable - see the attached screenshot. I don't know why command prompt still runs the 0.17 version - where can it comes from?
In the command prompt, run "where elm-repl" and it should tell you where it comes from.
I mean I know where it is located, but why it is on the PATH when I can't see it. Anyway what is even stranger, I tried it and now I have elm repl 0.17.1 also in the command prompt - see the screenshot. That's why I use windows only at work - it is a crazy unpredictable system. In linux everything works fine for me (elm as well).
If you really still want to know where 0.17 came from, you could do:
.cabal-sandbox/bin
directory or such)Thank you @jvoigtlaender. Just to let you know that I restarted the command prompt at least 5 times, but it only changed after typing where elm
.
I checked the option during the install and tried installing twice, but the installer dosn't change the PATH variable. When I run elm repl it's still 0.17 instead of 0.17.1. When I run updatepath.vbs myself I get the following error:
I run Windows 7 64bit.