How to fix this elm-repl error

208 views
Skip to first unread message

dedo

unread,
Jul 30, 2015, 6:05:11 PM7/30/15
to Elm Discuss
I had my 0.15.1 install working fine on OSX. Then I think I may have deleted an Elm file somewhere (not sure). Now I get this when I try to evaluate anything in elm-repl:

elm-make: elm-package.json: openBinaryFile: does not exist (No such file or directory)


I re-installed 0.15.1 and still get this error. Any suggestions?


Thanks.

Evan Czaplicki

unread,
Jul 30, 2015, 7:14:51 PM7/30/15
to elm-d...@googlegroups.com
What installer are you using?

What is the content of the directory you are running elm-repl in?

--
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.

dedo

unread,
Jul 30, 2015, 8:26:27 PM7/30/15
to Elm Discuss, eva...@gmail.com
I used the standard OSX installer on elm-lang.org.

It's my home directory and has a bunch of things (including a .elm folder). Anything specific I should look for?

When I run elm-repl in other directories I do not seem to hit this problem.

Thanks!

Evan Czaplicki

unread,
Jul 30, 2015, 9:20:39 PM7/30/15
to Elm Discuss
Are all of the following statements true?

When you run elm-repl in ~/ which is the home of the ~/.elm directory, it fails with this error.

In any other directory, there is no problem.

This is independent of whether a elm-package.json file exists in the directory or not before running elm-repl.

dedo

unread,
Jul 30, 2015, 11:38:54 PM7/30/15
to Elm Discuss, eva...@gmail.com
Yes, those are all true.

dedo

unread,
Jul 31, 2015, 11:33:14 AM7/31/15
to Elm Discuss, eva...@gmail.com, dedo...@hotmail.com
A bit more info. I just used the uninstall shell script, then reinstalled elm using the OSX installer. The repl problem persisted unchanged.

Then I did: elm-package install evancz/elm-html (in ~).

This reinstalled elm-package.json & elm-stuff, and appears to have fixed the REPL problem. 

So I'd guess I had removed one or both of elm-package.json & elm-stuff earlier, causing the repl error.

Thanks.
Reply all
Reply to author
Forward
0 new messages