Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibily with gleam_json #14

Open
leo-210 opened this issue Aug 6, 2024 · 0 comments
Open

Incompatibily with gleam_json #14

leo-210 opened this issue Aug 6, 2024 · 0 comments

Comments

@leo-210
Copy link

leo-210 commented Aug 6, 2024

If I try to add glacier to a project after adding gleam_json, version 0.9.0 will be installed, and not the latest.

Minimal example :

gleam add test_project
cd test_project
gleam add gleam_json
gleam add glacier
  Added glacier v0.9.0

The problem with that is that this version of glacier does not work anymore (trying to build a project with it will result in errors).

I tried using gleam add glacier@1 to install the good version (still after installing gleam_json), but then I get this incompatibility error message :

error: Dependency resolution failed

An error occurred while determining what dependency packages and
versions should be downloaded.
The error from the version resolver library was:

Unable to find compatible versions for the version constraints in your
gleam.toml. The conflicting packages are:

- gleam_community_colour
- gleam_json
- glacier
- test_project

Workaround

If I install glacier first, then gleam_json, I get the latest glacier version but not the latest gleam_json (I only get v1.0.1 instead of v2.0.0).

I count this as a workaround because this version of gleam_json works for my needs.

I didn't make an issue at gleam_json or at gleam_community_colour, but if you think I should, let me know !

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

No branches or pull requests

1 participant