Created
July 30, 2015 14:44
-
-
Save philosodad/697fe4727909ee2c0e2f to your computer and use it in GitHub Desktop.
Phoenix error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== Compilation error on file lib/phoenix/code_reloader.ex == | |
** (CompileError) lib/phoenix/code_reloader.ex:61: function full_path/1 undefined | |
(stdlib) lists.erl:1336: :lists.foreach/2 | |
(stdlib) erl_eval.erl:657: :erl_eval.do_apply/6 | |
could not compile dependency phoenix, mix compile failed. You can recompile this dependency with `mix deps.compile phoenix` or update it with `mix deps.update phoenix` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was able to temporarily fix this by removing
#{full_path(conn)}
from lines 61 and 163 of deps/phoenix/lib/phoenix/code_reloader.exIt's a hack fix, but it'll get your server up and running.
** Edit **
After a little more research, you can also replace those function calls with
#{conn.request_path}
. I've tested and it seems to be working fine. Source: http://qiita.com/Kazunori_Sada/items/6d650e33d054a47a9d93 (It's in Japanese)