Cannot compile gleam_stdlib when using mix_gleam #3483
Unanswered
mradke
asked this question in
Questions & support
Replies: 1 comment 2 replies
-
And you added gleam_stdlib to the mix deps? # in mix.exs
# ...
defp deps do
[
# ...
{:gleam_stdlib, "~> 0.34 or ~> 1.0"},
{:gleeunit, "~> 1.0", only: [:dev, :test], runtime: false},
# ...
]
end
# ... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m currently trying to test gleam inside of a mix project. I followed the GitHub - gleam-lang/mix_gleam: ⚗️ Build Gleam code with mix readme but when I try to compile I’ll get the following error:
Could not compile :gleam_stdlib, no "mix.exs", "rebar.config" or "Makefile" (pass :compile as an option to customize compilation, set it to "false" to do nothing)
The configuration in mix.exs looks like this:
Elixir version: 1.16.3 (compiled with Erlang/OTP 25)
Gleam version: 1.3.2
Any pointers why this is happening?
Beta Was this translation helpful? Give feedback.
All reactions