Hi! This is probably a long shot, since the use case is quite specific, but I'm going to try 🙂
I'm making a gleam run configuration for IntelliJ and I'm having trouble. When executing a CommandLine through the IDE, gleam doesn't find the function println/1 as shown here (cwd is the gleam project in question):
/home/simon/Downloads/gleam-v1.4.1-x86_64-unknown-linux-musl/gleam run /home/simon/dev/gleam/example/src/example.gleam
Compiled in 0.01s
Running example.main
exception error: undefined function gleam@io:println/1
Process finished with exit code 127
When I do gleam run either in the cli or a bash script, everything is fine, but somehow through the IDE it doesn't work.
Initally I thought the problem was because it was ran through asdf, but I tried directly with the binary and it didn't work either.
Once again, probably a long shot, if someone has an idea I'm all ears!