Elm 0.15.1 not getting properly installed on Windows

144 views
Skip to first unread message

christian jacobsen

unread,
Sep 3, 2015, 4:52:06 PM9/3/15
to Elm Discuss
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?

Grzegorz Balcerek

unread,
Sep 4, 2015, 4:36:16 AM9/4/15
to elm-d...@googlegroups.com
Seems like your cabal\bin was earlier on the PATH then the 0.15.1\bin folder.
You may also try removing/renaming C:\Users\Christian\AppData\Roaming\elm if you have it.
Grzegorz
W dniu 2015-09-03 o 22:52, christian jacobsen pisze:
--
You received this message because you are subscribed to the Google Groups "Elm Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

christian jacobsen

unread,
Sep 4, 2015, 4:25:04 PM9/4/15
to Elm Discuss
Removing cabal\bin from PATH made it work. Thanks!
Reply all
Reply to author
Forward
0 new messages