mix do deps.get, local.rebar --force, deps.compile

From wikieduonline
Jump to navigation Jump to search

mix do deps.get, local.rebar --force, deps.compile

Ubuntu[edit]

.../...
==> earmark_parser
Compiling 1 file (.yrl)
/usr/lib/erlang/lib/parsetools-2.3.2/include/yeccpre.hrl: no such file or directory
could not compile dependency :earmark_parser, "mix compile" failed. You can recompile this dependency with "mix deps.compile earmark_parser", update it with "mix deps.update earmark_parser" or 
clean it with "mix deps.clean earmark_parser"
Solution: apt install erlang-dev


== Compilation error in file lib/ex_keccak.ex ==
** (ErlangError) Erlang error: :enoent
    (elixir 1.12.2) lib/system.ex:1041: System.cmd("cargo", ["metadata", "--format-version=1"], 
[cd: "native/exkeccak"])
    (rustler 0.26.0) lib/rustler/compiler/config.ex:82: Rustler.Compiler.Config.metadata!/1
    (rustler 0.26.0) lib/rustler/compiler/config.ex:69: Rustler.Compiler.Config.build/1
    (rustler 0.26.0) lib/rustler/compiler.ex:9: Rustler.Compiler.compile_crate/2
    lib/ex_keccak.ex:6: (module)
could not compile dependency :ex_keccak, "mix compile" failed. You can recompile this dependency with "mix deps.compile ex_keccak", update it with "mix deps.update ex_keccak" or clean it with "mix deps.clean ex_keccak"

Related[edit]

See also[edit]

Advertising: