热门搜索 :
考研考公
您的当前位置:首页正文

rebar脚本运行出现escript Syntax error:

来源:东饰资讯网

今天同时运行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的机器上运行。所以打包和运行环境要一致

Top