#"Gleam add wisp" installs wrong version

1 messages · Page 1 of 1 (latest)

abstract hull
#

when i try to add wisp it refuses to add any other version than 0.1.0 even when i try to add the newer 0.15.0. any idea what im doing wrong?

azure frost
#

Some other package you have in your project has tight version requirements that force Wisp v0.1.0

surreal belfry
#

What does your gleam.toml look like?

azure frost
#

There's some package that keeps doing this

#

I can't remember which

surreal belfry
#

it was dot_env

#

i think it's tied to simplifile, since wisp requires simplifile = ">= 2.0.0 and < 3.0.0"

abstract hull
# surreal belfry What does your gleam.toml look like?
[dependencies]
gleam_stdlib = ">= 0.34.0 and < 2.0.0"
lustre = ">= 4.2.6 and < 5.0.0"
mist = ">= 1.2.0 and < 2.0.0"
gleam_http = ">= 3.6.0 and < 4.0.0"
gleam_erlang = ">= 0.25.0 and < 1.0.0"
dot_env = ">= 1.0.0 and < 2.0.0"
gleam_json = ">= 2.0.0 and < 3.0.0"
wisp = ">= 0.1.0 and < 1.0.0"

[dev-dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"

surreal belfry
#

yeah, i think it's dot_env then 🙂

abstract hull
surreal belfry
#

you could try envoy instead of dot_env, which would fix this in the short term

abstract hull
#

should then do:

gleam remove dot_env
gleam update
surreal belfry
inland heart
#

oh derp

#

different package 🙃

#

hmm 🤔 is the one linked there correct? that would be dotenv_gleam on hex

surreal belfry
#

oh... am i wrong?

#

oops!