riverrun / phauxth_installer

No longer maintained - Installer for the Phauxth authentication library
13 stars 4 forks source link

** (Mix) Installation failed: invalid archive file #2

Closed happysalada closed 6 years ago

happysalada commented 6 years ago

running

Erlang/OTP 20 [erts-9.1.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]

Elixir 1.5.2

with phoenix 1.3 trying to do the install command mix archive.install https://github.com/riverrun/phauxth_installer/blob/master/archives/phauxth_new.ez I get the following error ** (Mix) Installation failed: invalid archive file

did I forget to do something ?

riverrun commented 6 years ago

Could you try installing it locally?

First clone the repository and then run the following commands:

cd phauxth_new
MIX_ENV=prod mix build
cd ../archives
mix archive.install phauxth_new.ez
riverrun commented 6 years ago

The link is wrong. It should be https://github.com/riverrun/phauxth_installer/raw/master/archives/phauxth_new.ez

riverrun commented 6 years ago

I have just changed the link in the documentation and the wiki.

Let me know if you have any further problems.

happysalada commented 6 years ago

Thanks for the super quick feedback, I'll try again tomorrow and update if there is any problem