vernemq/vmq-plugin-bundler

Error building plugin

Closed this issue · 0 comments

I was trying to build the demo plugin:

docker run -p 8080:8080 -e BUNDLER_CONFIG="{deps, [{vernemq_demo_plugin, {git, \"git://github.com/vernemq/vernemq_demo_plugin.git\", {branch, \"master\"}}}]}." vernemq/vmq-plugin-bundler

but got this error:

branch, \"master\"}}}]}." vernemq/vmq-plugin-bundler
Unable to find image 'vernemq/vmq-plugin-bundler:latest' locally
latest: Pulling from vernemq/vmq-plugin-bundler
c5e155d5a1d1: Pull complete 
221d80d00ae9: Pull complete 
4250b3117dca: Pull complete 
3b7ca19181b2: Pull complete 
425d7b2a5bcc: Pull complete 
dec8605bd3bd: Pull complete 
4062f5cde995: Pull complete 
26b05f90a0be: Pull complete 
9e4d84017d1e: Pull complete 
Digest: sha256:23004947b4c51693cd9386d091b3c84dfb2d3e5ab7975e6e367ff5051fabdeae
Status: Downloaded newer image for vernemq/vmq-plugin-bundler:latest
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5633  100  5633    0     0  16384      0 --:--:-- --:--:-- --:--:-- 16470
TERMS [{deps,
           [{vernemq_demo_plugin,
                {git,"git://github.com/vernemq/vernemq_demo_plugin.git",
                    {branch,"master"}}}]}]
===> Verifying dependencies...
===> Fetching vernemq_demo_plugin ({git,
                                       "git://github.com/vernemq/vernemq_demo_plugin.git",
                                       {branch,"master"}})
===> Fetching vernemq_dev ({git,"git://github.com/erlio/vernemq_dev.git",
                                {branch,"master"}})
TERMS [{deps,
           [{vernemq_demo_plugin,
                {git,"git://github.com/vernemq/vernemq_demo_plugin.git",
                    {branch,"master"}}}]}]
===> Error evaluating configuration script at "rebar.lock.script":
{error,{23,file,
        {error,{badmatch,[[{<<"vernemq_demo_plugin">>,
                            {git,"git://github.com/vernemq/vernemq_demo_plugin.git",
                                 {ref,"c21281609141733243dcb91c5dc1972996664390"}},
                            0},
                           {<<"vernemq_dev">>,
                            {git,"git://github.com/erlio/vernemq_dev.git",
                                 {ref,"741655f532ad16bb501d01230c7fb68dbae523d2"}},
                            1}]]},
               [{erl_eval,expr,5,[{file,"erl_eval.erl"},{line,453}]},
                {erl_eval,exprs,5,[{file,"erl_eval.erl"},{line,126}]},
                {file,eval_stream2,6,[{file,"file.erl"},{line,1393}]},
                {file,script,2,[{file,"file.erl"},{line,1090}]},
                {rebar_config,consult_and_eval,2,
                              [{file,"/usr/src/rebar3-src/src/rebar_config.erl"},
                               {line,287}]},
                {rebar_config,consult_file_,1,
                              [{file,"/usr/src/rebar3-src/src/rebar_config.erl"},
                               {line,230}]},
                {rebar_config,consult_lock_file,1,
                              [{file,"/usr/src/rebar3-src/src/rebar_config.erl"},
                               {line,69}]}]}}}

===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace or consult rebar3.crashdump
===> When submitting a bug report, please include the output of `rebar3 report "your command"`