Cant install 4.0.0
atomkirk opened this issue · comments
Adam Kirk commented
I might be doing something wrong or this is unrelated, but I haven't see it before, only with this package.
I change
{:phoenix_html, "~> 3.3.2"},
to
{:phoenix_html, "~> 4.0.0"},
and do
mix deps.unlock phoenix_html
mix deps.get
and I get
Resolving Hex dependencies...
Resolution completed in 0.021s
Because your app depends on phoenix_html empty which doesn't match any versions, version solving failed.
** (Mix) Hex dependency resolution failed
Any idea whats up?
José Valim commented
This is a Hex bug: hexpm/hex#972
It means you have a path or a git dependency that conflicts with phoenix_html. If you address that, you should be good to go!
José Valim commented
PS: hex has a fix for it, but it was not released yet because it introduced a regression :)
Adam Kirk commented
What happened to hidden_inputs_for? my deps depended on it.
José Valim commented
@atomkirk you can add this to your markup instead:
<input :for={{name, value} <- form.hidden} type="hidden" name={name} value={value} />