Skip to content
This repository has been archived by the owner on Jun 11, 2023. It is now read-only.

Hex invalid version #403

Open
ghost opened this issue May 7, 2018 · 5 comments
Open

Hex invalid version #403

ghost opened this issue May 7, 2018 · 5 comments

Comments

@ghost
Copy link

ghost commented May 7, 2018

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

@PedroHLC
Copy link

PedroHLC commented May 7, 2018

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.

@ghost
Copy link
Author

ghost commented May 7, 2018

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

@ghost
Copy link
Author

ghost commented May 15, 2018

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

@PedroHLC
Copy link

Renato only uses BSD variants

@renatomassaro
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants