Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to compile: cannot find or invoke local basic_credit_drained/0 inside match #203

Closed
rislah opened this issue Sep 1, 2021 · 2 comments

Comments

@rislah
Copy link

rislah commented Sep 1, 2021

Getting this while trying to compile my dependencies

== Compilation error in file lib/amqp/consumer_helper.ex ==
** (CompileError) lib/amqp/consumer_helper.ex:24: cannot find or invoke local basic_credit_drained/0 inside match. Only macros can be invoked in a match and they must be defined before their invocation. Called as: basic_credit_drained()
    (stdlib 3.15.2) lists.erl:1358: :lists.mapfoldl/3
    lib/amqp/consumer_helper.ex:24: (module)
[Warn  - 5:56:22 PM] could not compile dependency :amqp, "mix compile" failed. You can recompile this dependency with "mix deps.compile amqp", update it with "mix deps.update amqp" or clean it with "mix deps.clean amqp"

Amqp version
{:amqp, "~> 3.0.0-rc.1"},

Elixir

Erlang/OTP 24 [erts-12.0.3] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit]

Elixir 1.12.2 (compiled with Erlang/OTP 22)
@ono
Copy link
Collaborator

ono commented Sep 1, 2021

what does this command show - mix deps rabbit_common?

@rislah
Copy link
Author

rislah commented Sep 2, 2021

today it now compiles, idk why it didnt do that yesterday. pc restart must've helped

@rislah rislah closed this as completed Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants