Skip to content

Unexpected version format error for Elixir dependencies #49

@yoshi-monster

Description

@yoshi-monster

I tried adding some Elixir dependencies to a Gleam project, but that failed with the following error:

proba on  main [?] via ⭐ v1.12.0 via  v24.7.0 
❯ gleam add phoenix_live_view
  Resolving versions
error: Dependency resolution failed

An error occured while chosing the version of phoenix_live_view: unexpected
version format ~> 0.6 and >= 0.6.16


proba on  main [?] via ⭐ v1.12.0 via  v24.7.0 
❯ gleam add bandit
  Resolving versions
error: Dependency resolution failed

An error occured while chosing the version of bandit: unexpected version
format ~> 1.0-pre and >= 1.0.0-pre.5

So it seems to me like 2 and ranges are not supported by the parser?

~ yoshie 💜

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions