Skip to content

escript: exception error: undefined function counters:new/2  #58

Closed
@YangJessie

Description

@YangJessie

Hi! I met this problem after finishing "make" process:

escript: exception error: undefined function counters:new/2
in function emqtt_bench:init/0 (/app/install/emqtt_benchmark/emqtt-bench/src/emqtt_bench.erl, line 176)
in call from emqtt_bench:start/2 (/app/install/emqtt_benchmark/emqtt-bench/src/emqtt_bench.erl, line 167)
in call from escript:run/2 (escript.erl, line 758)
in call from escript:start/1 (escript.erl, line 277)
in call from init:start_em/1
in call from init:do_boot/3

I've installed erlang/OTP 21.0 and rebar3.

Activity

xujunxing1991

xujunxing1991 commented on Aug 23, 2019

@xujunxing1991

我也是报错这个!

turtleDeng

turtleDeng commented on Sep 5, 2019

@turtleDeng
Member

You should install erlang version 21.2 first .

self-assigned this
on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @turtleDeng@YangJessie@xujunxing1991

      Issue actions

        escript: exception error: undefined function counters:new/2 · Issue #58 · emqx/emqtt-bench