Helix icon indicating copy to clipboard operation
Helix copied to clipboard

Hex invalid version

Open ghost opened this issue 6 years ago • 5 comments

Today im triying to install HELIX to work with HEBorn, but at the moment of instalating HELIX output this error in the moment that try to get HEX dependencies

root@mainsv:/var/www/_HELIX/Helix-master# MIX_ENV=prod mix do deps.get, compile, release --env=prod
Resolving Hex dependencies...
** (Hex.Version.InvalidRequirementError) invalid requirement: "1.6.3 or 1.6.5 or 1.7.1 or 1.8.6 or ~> 1.9"
    (hex) lib/hex/version.ex:129: Hex.Version.parse_requirement!/2
    (hex) lib/hex/version.ex:47: anonymous fn/3 in Hex.Version.match?/3
    (hex) lib/hex/version.ex:139: Hex.Version.cache/2
    (elixir) lib/enum.ex:704: anonymous fn/3 in Enum.filter/2
    (elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3
    (elixir) lib/enum.ex:704: Enum.filter/2
    (elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3
    (hex) lib/hex/resolver.ex:205: Hex.Resolver.get_versions/4


09:32:51.323 [error] Process #PID<0.46.0> raised an exception
** (Hex.Version.InvalidRequirementError) invalid requirement: "1.6.3 or 1.6.5 or 1.7.1 or 1.8.6 or ~> 1.9"
    (hex) lib/hex/version.ex:129: Hex.Version.parse_requirement!/2
    (hex) lib/hex/version.ex:47: anonymous fn/3 in Hex.Version.match?/3
    (hex) lib/hex/version.ex:139: Hex.Version.cache/2
    (elixir) lib/enum.ex:704: anonymous fn/3 in Enum.filter/2
    (elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3
    (elixir) lib/enum.ex:704: Enum.filter/2
    (elixir) lib/enum.ex:1385: Enum."-reduce/3-lists^foldl/2-0-"/3
    (hex) lib/hex/resolver.ex:205: Hex.Resolver.get_versions/4

ghost avatar May 07 '18 07:05 ghost

Hi @venadHD Try the "non-production" way:

git clone $link
cd $repo
mix deps.get
mix ecto.reset
iex -S mix

EDIT: Remember to have Postgres and Elixir installed.

PedroHLC avatar May 07 '18 18:05 PedroHLC

Now this are solved my installing first erlang and install elixir from the erlang deviratiom

ghost avatar May 07 '18 18:05 ghost

Whats the source machine was Helix running? Debian, Ubuntu, other?

ghost avatar May 15 '18 15:05 ghost

Renato only uses BSD variants

PedroHLC avatar May 16 '18 13:05 PedroHLC

It works on any Linux distro though; our Travis build is tested on Ubuntu 14.04

renatomassaro avatar May 29 '18 13:05 renatomassaro