【发布时间】:2017-03-05 08:51:37
【问题描述】:
按照此Nerves Tutorial 设置phoenix-framework,在尝试运行服务器时,我在教程结束时收到此错误。
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$
我已经重新编译、清理、更新了fs 库,但似乎无法让它运行。我错过了什么或者我应该尝试什么?
(请注意iot是因为没有Nerves标签)
【问题讨论】:
标签: phoenix-framework iot elixir phoenix-framework iot nerves-project