#could not compile dependency :bcrypt_elixir, "mix compile" failed

3 messages · Page 1 of 1 (latest)

lament bough
#

I could not compile or start an phoenix app because of this error, even though I already have VS2017 installed to compile.

  • updated from elixir 14 to 15
  • updated from OTP 25 to 26
    with previous version compiling was working ok

When a try to run mix compile I get this error message:

could not compile dependency :bcrypt_elixir, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile bcrypt_elixir --force", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
** (ArgumentError) argument error
    (stdlib 5.0.2) io.erl:99: :io.put_chars(:standard_io, <<85, 116, 105, 108, 105, 100, 97, 100, 32, 100, 101, 32, 109, 97, 110, 116, 101, 110, 105, 109, 105, 101, 110, 116, 111, 32, 100, 101, 32, 112, 114, 111, 103, 114, 97, 109, 97, 115, 32, 100, 101, 32, 77, 105, 99, 114, 111, 115, 111, 102, ...>>)
    (elixir 1.15.4) lib/system.ex:1121: System.do_port_byte/3
    (elixir 1.15.4) lib/system.ex:1107: System.do_cmd/3
    (elixir_make 0.7.7) lib/elixir_make/compiler.ex:115: ElixirMake.Compiler.cmd/5
    (elixir_make 0.7.7) lib/elixir_make/compiler.ex:92: ElixirMake.Compiler.make/2
    (elixir_make 0.7.7) lib/elixir_make/compiler.ex:53: ElixirMake.Compiler.compile/1
    (mix 1.15.4) lib/mix/task.ex:447: anonymous fn/3 in Mix.Task.run_task/5
    (mix 1.15.4) lib/mix/tasks/compile.all.ex:124: Mix.Tasks.Compile.All.run_compiler/2

Thanks for any help?

vapid scaffold
#

Maybe try mix deps.clean —all and start fresh?

lament bough
#

🤔 let's try...