You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Updating tzdata (Hex package)
** (Mix) The lock is missing for package tzdata. This could be because another package has configured the application name for the dependency incorrectly. Verify with the maintainer of the parent application
This error happens because hex does not add tzdata to the lock as it sees it as overridden, this may be incorrect behavior and should be investigated in hex. But in this case it should not matter since mix should detect that the dependencies are diverged since tzdata is not overridden all umbrella children.
The text was updated successfully, but these errors were encountered:
In this case mix does not detect the diverged {:floki, ">= 0.30.0", only: :test} from the umbrella child app and {:floki, "~> 0.36"} from phoenix_live_view. The error only happens when passing --only prod to mix deps.get.
Elixir and Erlang/OTP versions
Erlang/OTP 26 [erts-14.2.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.17.0-dev (100d63b) (compiled with Erlang/OTP 26)
mix hex.info
:Hex: 2.0.7-dev
Elixir: 1.17.0-dev
OTP: 26.2.2
Built with: Elixir 1.17.0-dev and OTP 26.2.2
Operating system
macOS
Current behavior
This issue was originally reported here: hexpm/hex#1010.
Given the dependency tree:
The following error is raised:
Here is a repo that reproduces the error https://github.com/ericmj/umbrella_override_issue. Please use latest hex from the main branch as it has other fixes for umbrella apps.
Expected behavior
This error happens because hex does not add tzdata to the lock as it sees it as overridden, this may be incorrect behavior and should be investigated in hex. But in this case it should not matter since mix should detect that the dependencies are diverged since tzdata is not overridden all umbrella children.
The text was updated successfully, but these errors were encountered: