[英]Why cannot I run rebar3 commands in an application generated with rebar3?
I have been trying to generate a rebar3 application, however I have encountered a problem, I have generated new app using rebar3, and when I try to compile it I get error as such:我一直在尝试生成一个 rebar3 应用程序,但是我遇到了一个问题,我使用 rebar3 生成了新应用程序,当我尝试编译它时,我收到如下错误:
> ===> Verifying dependencies...
> ===> Uncaught error in rebar_core.
The same error is given when I try to use rebar3 shell.当我尝试使用 rebar3 shell 时出现同样的错误。 However I can use command rebar3 shell in every other directory including sub directories of the generated application.
但是,我可以在所有其他目录(包括生成的应用程序的子目录)中使用命令 rebar3 shell。
rebar3 version returns: rebar3 版本返回:
rebar 3.14.0-rc1+build.4613.reffb58aa1f on Erlang/OTP 22 Erts 10.6
I ahve no idea what might cause the error and will be thankfull for any suggestions.我不知道什么可能导致错误,并会感谢任何建议。
Couple of ideas.几个想法。
Try setting DEBUG
and run your rebar3 command, ie export DEBUG=1
.尝试设置
DEBUG
并运行您的 rebar3 命令,即export DEBUG=1
。
You are running a release candidate for a new rebar3 version, maybe try the latest 3.13.X
version.您正在为新的 rebar3 版本运行候选版本,也许可以尝试最新的
3.13.X
版本。
Try do rebar clean
and remove _build
folder in your application, then try run rebar compile
尝试在您的应用程序中执行 rebar
rebar clean
并删除_build
文件夹,然后尝试运行 rebar rebar compile
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.