A minimal working example, reproducing bcrypt_elixir
's issue #10.
Setup and Run
-
Make sure the relevant versions are active. The issue reproduces on Elixir
1.6.6
,1.7.2
,OTP ~> 20
, andbcrypt_elixir ~> 1.0.7
. There is.tool-versions
file in place in case you use asdf. -
Make sure
bcrypt_elixir
dependency is in a sibling folder. If that's not what you want, update yourmix.exs
.
# change this
defp deps do
[
{:bcrypt_elixir, path: "../bcrypt_elixir"}
]
end
# to this
defp deps do
[
{:bcrypt_elixir, "~> 1.0.9"}
]
end
- Install dependencies
mix deps.get
- Start the app
./start.sh
- Observe the output. The app will terminate as soon as
bcrypt_elixir
throws but, due to asyncronous nature ofIO.inspect
output, the actual error will likely be scrolled out.