After running zig build roc
and runing ./zig-out/bin/roc
, I get the following error:
error: Failed to extract platform spec from app file: error.FileNotFound
[aryehh@nixos:~/Development/roc]$ uname -a
Linux nixos 6.6.40 #1-NixOS SMP PREEMPT_DYNAMIC Mon Jul 15 07:24:53 UTC 2024 x86_64 GNU/Linux
Did you give the roc program a path to an app .roc file?
Haha, we should make a better error here. The default is that running roc
with no args executes an app.roc
program in the current folder.
If it is not found, we should make that clear and probably print out the full roc --help
message.
The roc "run" implementation is very much an early WIP rn.
We hacked something quick together to get something really simple working with the interpreter wired in.
Fixed in PR#8251
Last updated: Oct 18 2025 at 12:13 UTC