After installing Elm 0.15.1 on my Windows 8.1 machine and checking the version with
elm --version it outputs 0.12.3. And if I run
elm-repl then elm-repl.exe is executed which is located in C:\Users\Christian\AppData\Roaming\cabal\bin and not the one in C:\Program Files (x86)\Elm Platform\0.15.1\bin.
If I simply removes the cabal-folder and start the elm-repl again it uses the right version but then it seems to be broken. When writing an expression in the repl it returns the following error:
> 1 + 1
module.js:338
throw err;
^
Error: Cannot find module 'C:\Windows\system32\repl-temp-000.js'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Function.Module.runMain (module.js:501:10)
at startup (node.js:129:16)
at node.js:814:3
Any idea how I can fix it?