Hey I am trying to run mix release on my ubuntu vps and I am getting this error:
==> bcrypt_elixir
could not compile dependency :bcrypt_elixir, "mix compile" failed. You can recompile
this dependency with "mix deps.compile bcrypt_elixir", update it with "mix deps.update bcrypt_elixir" or clean it with "mix deps.clean bcrypt_elixir"
==> user_restfulapi_phx
** (Mix) "make" not found in the path. If you have set the MAKE environment variable,please make sure it is correct.
I had a similar problem but with the erlang version and the c compiler, installing both did not do much, but reducing the :bcrypt_elixir version to 0.12 stooped the compilation errors.
and then was prompted to install additional dependencies.
** (Mix) Could not compile with "make" (exit status: 2).
You need to have gcc and make installed. If you are using
Ubuntu or any other Debian-based system, install the packages
"build-essential". Also install "erlang-dev" package if not
included in your Erlang/OTP version. If you're on Fedora, run
"dnf group install 'Development Tools'".
Once I did sudo apt install build-essential then everything works fine.