#"Gleam add wisp" installs wrong version
1 messages · Page 1 of 1 (latest)
Some other package you have in your project has tight version requirements that force Wisp v0.1.0
What does your gleam.toml look like?
There's some package that keeps doing this
I can't remember which
I want this feature to help with it https://github.com/gleam-lang/gleam/issues/3267
it was dot_env
i think it's tied to simplifile, since wisp requires simplifile = ">= 2.0.0 and < 3.0.0"
[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"
yeah, i think it's dot_env then 🙂
ahh, ok i just followed this and tought it was wierd: https://gleaming.dev/articles/building-your-first-gleam-web-app/
should then do:
gleam remove dot_env
gleam update
~~I just created an issue on dot_env if anyone wants an open source contribution! https://github.com/Grubba27/dotenv_gleam/issues/7~~
it is already, no? https://github.com/aosasona/dotenv/blob/master/gleam.toml#L13
oh derp
different package 🙃
hmm 🤔 is the one linked there correct? that would be dotenv_gleam on hex