So, I tried following this Nerves Tutorial , just for fun, to set up a phoenix-framework, this error gets thrown at me at the end of the tutorial when trying to run the server.
cjsMBP15:ui cj$ mix phoenix.server
==> fs (compile)
Compiling c_src/mac/cli.c
In file included from c_src/mac/cli.c:2:
In file included from c_src/mac/cli.h:4:
c_src/mac/common.h:5:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
^
1 error generated.
ERROR: compile failed while processing /Users/cj/elixir_projects/nervous_espresso/deps/fs: rebar_abort
** (Mix) Could not compile dependency :fs, "/Users/cj/.mix/rebar compile skip_deps=true deps_dir="/Users/cj/elixir_projects/nervous_espresso/_build/dev/lib"" command failed. You can recompile this depe
ndency with "mix deps.compile fs", update it with "mix deps.update fs" or clean it with "mix deps.clean fs"
cjsMBP15:ui cj$
I have recompiled, cleaned, updated fs library, but cannot simply seem to get it to run.
Can anyone point out where have I made a mistake?
Thanks.