ratfactor / ziglings

Learn the Zig programming language by fixing tiny broken programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not compile in Github Codespaces

mxjosie opened this issue · comments

For some reason, i cannot immediately run zig build when i fork Ziglings into Codespaces. I tried another project - this one https://github.com/kxkx5150/Codespaces-Zig-template - and it was able to run zig build with no issue. Not sure if this is an issue with Ziglings or with Codespaces, but Codespaces does seem to be able to run zig if the repository is set up how it likes.

if it matters, I am running Codespaces in the latest version of Firefox on Windows 10 Enterprise LTSC.

@mxjosie What error message do you get?

@mxjosie What error message do you get?

bash: zig: command not found

@mxjosie What error message do you get?

bash: zig: command not found

You have to install Zig.

The project you mentioned installed it in the Docker file: https://github.com/kxkx5150/Codespaces-Zig-template/blob/master/.devcontainer/Dockerfile

okay, with a lot of copy-pasting and fussing around i managed to get it working. Thank you!