Closed akrisanov closed 5 years ago
I resolved the issue by adding :uuid
into extra_applications
:
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger, :uuid]
]
end
Glad it's solved! 👍
Maybe it would be helpful to add a sentence in README.md about that for such newbies as me :)
I'm building the OTP release using Distillery with
MIX_ENV=prod mix release --env=prod --verbose
and running the foreground process. The application fails when one of the hex packages tries to callUUID.uuid4()
function. I tried to connect to the remote console and call the function manually:I don't have such a problem when I run the application via
mix
:Any ideas why it could happen?