Closed greenfork closed 5 months ago
You're not running the dev tools there. If you run gleam clean
and then tried to run the reproduction again you'd get a gleam error:
gleam run -m lustre build app
this doesn't exist. you want this:
gleam run -m lustre/dev build app
the commands are documented here: https://github.com/lustre-labs/dev-tools?tab=readme-ov-file#commands
please can you try with the actual dev tools and let me know if you still have an issue!
Sorry, I forgot to fix the copy-pasted reproduction. In my Makefile you can see that I have changed the program I call:
- gleam run -m lustre build app
+ gleam run -m lustre/dev build app
I've spoken to Louis and they reckon this is a compiler bug, so I'm going to close this! Will have to sit tight and wait for a fix.
Okay, thank you!
I have the same error described in https://github.com/lustre-labs/lustre/issues/56 where it fails for me with the following output:
This issue is possibly a bug in Gleam described in https://github.com/gleam-lang/gleam/issues/2820.
Reproduction:
Here is a patch I applied to make sure that I did all the upgrades necessary since the last time I reported the issue. Full code is also available in the repository above.