phauxth
phauxth copied to clipboard
[BUG] Can't download archive install
Environment
- Elixir & Erlang/OTP versions (elixir --version): elixir 1.10.2 erlang 22.2.8
- Operating system: unix
Current behavior
When I try this:
mix archive.install https://github.com/riverrun/phauxth_installer/raw/master/archives/phauxth_new.ez
I get this:
** (Mix) fetching from URIs require a checksum to be given
Could not run archive.install for:
https://github.com/riverrun/phauxth_installer/raw/master/archives/phauxth_new.ez
Please download the file above to your current directory and run:
mix archive.install ./phauxth_new.ez
Am I doing something wrong?
Thanks for raising this issue. It looks like the way archives are installed has changed recently. I will look into this at the weekend and get back to you soon.
It is not only your package -> i had the same issue with "mix eqc.install --mini". Seems to be something more generic. https://github.com/tony612/eqc_ex/commit/43759ba1fa56dec40b0346f2e23268d18f3ccda1 - maybe this points into the right direction.
The way mix archive.install
works has changed, and so you cannot install directly from a url anymore.
I need to look into this further, but for the time being, you will still be able to install the archive by downloading the archive and then running mix archive.install ./phauxth_new.ez
.
mix archive.install ./phauxth_new.ez
Still fails with ** (Mix) Installation failed: invalid archive file
unfortunately.