I tried running the sample project in the repository with gleam run and got a terrible error.
I'm on Asahi Linux Fedora 42
I installed gleam from source and erlang from fedora dnf packages
Error log
$ cd blogatto/examples/simple_blog/
$ gleam run
Resolving versions
Downloading packages
Downloaded 33 packages in 0.81s
Compiling gleam_stdlib
Compiling filepath
Compiling fs
===> Fetching pc v1.15.0
===> Analyzing applications...
===> Compiling pc
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc.app' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc.app' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_compilation.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_compilation.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_port_env.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_port_env.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_port_specs.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_port_specs.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_prv_clean.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_prv_clean.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_prv_compile.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_prv_compile.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_util.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_util.beam' are the same file
===> sh(cp -Rp /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc.app /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc.beam /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_compilation.beam /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_port_env.beam /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_port_specs.beam /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_prv_clean.beam /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_prv_compile.beam /home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_util.beam "/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin")
failed with return code 1 and the following output:
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc.app' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc.app' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_compilation.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_compilation.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_port_env.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_port_env.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_port_specs.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_port_specs.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_prv_clean.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_prv_clean.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_prv_compile.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_prv_compile.beam' are the same file
cp: '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/default/plugins/pc/ebin/pc_util.beam' and '/home/ando/dev/blogatto/examples/simple_blog/build/dev/erlang/fs/_build/prod/plugins/pc/ebin/pc_util.beam' are the same file
error: Shell command failure
There was a problem when running the shell command `rebar3`.
I also tried in an new gleam project by running
$ gleam new test_project
$ cd test_project
$ gleam add blogatto@3
$ gleam run
I tried running the sample project in the repository with
gleam runand got a terrible error.I'm on Asahi Linux Fedora 42
I installed gleam from source and erlang from fedora dnf packages
Error log
I also tried in an new gleam project by running
$ gleam new test_project $ cd test_project $ gleam add blogatto@3 $ gleam run