When I try to build my app at server as:
APP="my_app" MIX_ENV="prod" AUTO_VERSION="" BRANCH="master" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix do clean, compile
I get this error:
===> Plugin pc not available. It will not be used.
=ERROR REPORT==== 30-Apr-2018::10:21:55 ===
beam/beam_load.c(1287): Error loading module pc:
mandatory chunk of type 'Atom' not found
=ERROR REPORT==== 30-Apr-2018::10:21:55 ===
Loading of /tmp/edeliver/my_app/builds/deps/re2/_build/default/plugins/pc/ebin/pc.beam failed: badfile
===> Compiling re2
===> Unable to run pre hooks for 'compile', command 'compile' in namespace 'pc' not found.
** (Mix) Could not compile dependency :re2, "/home/ubuntu/.mix/rebar3 bare compile --paths "/tmp/edeliver/my_app/builds/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile re2", update it with "mix deps.update re2" or clean it with "mix deps.clean re2"
erl -v
Erlang/OTP 19 [erts-8.3.5] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V8.3.5 (abort with ^G)
$ ~/.mix/rebar3 -v
rebar 3.3.6 on Erlang/OTP 19 Erts 8.3.5
Any idea?
The error message mandatory chunk of type 'Atom' not found
suggests that you have a .beam
file compiled with Erlang/OTP 20.0 or later, and are trying to load it in an earlier version. Try deleting the .beam
files for the pc
plugin and let it rebuild them.
当我尝试从Github配置mydlp时,出现此错误,请帮助我检查与BSD兼容的安装... / usr / bin / install -c检查构建环境是否正常...是的,检查线程安全的mkdir -p ... / bin / mkdir -p检查gawk ...不检查mawk ... mawk检查是否make set $(MAKE)...是检查make是否支持嵌套变量... yes检查erlc ... / usr / bin / erlc通过检查erl检查前缀... / usr / bin / erl检查erl ... / usr / bin / erl检查Erlang / OTP根目录...配置:错误:在/home/mydlp': configure: error: test Erlang program execution failed See
config.log了解更多信息
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.