I have two machines running the same version of erlang:
$ erl -v
Erlang/OTP 27 [erts-15.2.4] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]
both gleam 1.9.1. One of them compiles a project just fine, while the other shows me this:
gleam run -m lustre/dev
Compiled in 0.09s
Running lustre/dev.main
=INFO REPORT==== 14-Apr-2025::01:22:57.671482 ===
application: filepath
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.703728 ===
application: argv
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.703923 ===
application: lustre
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.704118 ===
application: gleam_otp
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.704342 ===
application: gleam_erlang
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.705134 ===
application: gleeunit
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.705264 ===
application: gleamy_lights
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.705610 ===
application: gleam_community_colour
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.705799 ===
application: envoy
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.705918 ===
application: gleam_json
exited: stopped
type: temporary
=INFO REPORT==== 14-Apr-2025::01:22:57.706114 ===
application: gleam_stdlib
exited: stopped
type: temporary
runtime error: Erlang error
An Erlang assignment pattern did not match.
unmatched value:
Error(Fs(#([110, 111, 32, 115, 117, 99, 104, 32, 102, 105, 108, 101, 32, 111, 114, 32, 100, 105, 114, 101, 99, 116, 111, 114, 121], [102, 115, 46, 97, 112, 112])))
stacktrace:
Now I made sure to hard-set the versions for lustre (4.6.3) and its dev tools (1.6.5) to match their working counterparts, and that didn't change this behaviour
Maybe I'm just being silly again but...
... oh right
hold on