美文网首页
rebar脚本运行出现escript Syntax error:

rebar脚本运行出现escript Syntax error:

作者: randyjia | 来源:发表于2016-04-13 17:16 被阅读132次

今天同时运行rebar打出来的包,出现错误如下
<pre>
/tmp/castle_rush/erts-7.3/bin/escript: 1: /tmp/castle_rush/erts-7.3/bin/escript: Syntax error: ")" unexpected
/tmp/castle_rush/erts-7.3/bin/run_erl: 1: /tmp/castle_rush/erts-7.3/bin/run_erl: Syntax error: Unterminated quoted string
</pre>

原因是在mac-osx系统打包,然后把包放在ubuntu12.04的机器上运行。所以打包和运行环境要一致

相关文章

网友评论

      本文标题:rebar脚本运行出现escript Syntax error:

      本文链接:https://www.haomeiwen.com/subject/svtglttx.html