lustre-labs / dev-tools

Lustre's CLI and development tooling: zero-config dev server, bundling, and scaffolding.
45 stars 15 forks source link

Update `gleam_json` dependency version #52

Closed yoonthegoon closed 2 months ago

yoonthegoon commented 2 months ago

I run the following and get:

$ gleam add lustre_dev_tools --dev
  Resolving versions
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_json
- gleam_package_interface
- gleam_stdlib
- lustre_dev_tools

I've read #27 and downgraded gleam_stdlib to 0.36.0.
However, that isn't the root of this issue.

I'm currently using gleam_stdlib@0.39.0 and am able to add lustre_dev_tools.
I had to use gleam_json@1.0.1 in order to do so.

Please update the gleam_json dependency version if possible.
Thanks ❤️

hayleigh-dot-dev commented 2 months ago

i cannot update the gleam_json version until wisp updates theirs unfortunately. The previous release had a wide enough constraint that meant you could use v1 or v2 but it was still causing problems because of wisp.

yoonthegoon commented 2 months ago

All good, glad to know where the constraint is from at least. Thanks