ITADN

Error when trying to run new project

#220Closedcodedbyjordan 创建于 2025-08-23
C
codedbyjordancommented
Hi, I just downloaded the CLI and ran `jetzig init` and `jetzig server` but I'm getting this error ``` Launching development server. [reload:enabled] (working) ... (done) ❌ [stderr]: build.zig:10:10: error: no field named 'root_source_file' in struct 'Build.ExecutableOptions' .root_source_file = b.path("src/main.zig"), ^~~~~~~~~~~~~~~~ /home/jordo/.zvm/master/lib/std/Build.zig:771:31: note: struct declared here pub const ExecutableOptions = struct { ^~~~~~ referenced by: runBuild__anon_23555: /home/jordo/.zvm/master/lib/std/Build.zig:2215:44 main: /home/jordo/.zvm/master/lib/compiler/build_runner.zig:366:29 5 reference(s) hidden; use '-freference-trace=7' to see all references ``` I am on the latest Zig from `master`: `0.16.0-dev.13+1594c8055`
关闭于 2025-08-24 3 条评论