Command 'generate' not understood or not applicable

淺唱寂寞╮ 提交于 2019-12-05 00:50:55

You are getting this error because rebar is unable to find a release. You should check if you have reltool.config somewhere and rebar knows about it.

If no release exists, you can create a new one:

mkdir rel
cd rel
../rebar create-node nodeid=YOUR_NODE_ID

Lastly, you need to tell rebar about the release. In your case, you already have the following added to rebar.config:

{sub_dirs, ["rel"]}.

This should allow the generate command to build a new release.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!