-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jetzig init error #57
Comments
We cannot fix the zig fetch error! but we can skip the saving of it @bobf . We should add a --no-fetch or something like that flag on the init Will add it in a sec, available to change the name to anything else lol |
maybe --cant-teach-an-old-dog-new-tricks |
Thanks, looking forward, I'd like to try jetzig. |
I tried to redirect |
@linc01 That's a shame that
Basically the only difference between a Jetzig project and a regular Zig project is this line in try jetzig.jetzigInit(b, exe, .{}); You should hopefully then be able to run Let us know how you get on, hopefully you can get a project up and running and this GH issue might help other people in future. It might also be a good idea to file a bug/feature request with Zig itself. Feel free to join us on our Discord if you're still having issues, we'll be happy to help ! |
Thanks @bobf , I've bypassed this error with a proxy variables disabled env. Now I can see a lizard on a jet at 127.0.0.1:8080. Already joined discord, also opened an issue at the zig repo. |
Hello, I got this error:
`[exec] zig fetch --save https://github.com/jetzig-framework/jetzig/archive/3f6c1a49199e3a3841a710d69f6525a72a744bb7.tar.gz ❌
Error running command: zig fetch --save https://github.com/jetzig-framework/jetzig/archive/3f6c1a49199e3a3841a710d69f6525a72a744bb7.tar.gz
[stdout]:
[stderr]:
error: invalid HTTP response: EndOfStream`
I tried all solutions here zig http/socks5 proxy support, the dirty script works for
zig build
directly for other projects. I manuallywget https://github.com/jetzig-framework/jetzig/archive/3f6c1a49199e3a3841a710d69f6525a72a744bb7.tar.gz
and saved it into the same folder~/.cache/zig/p
and renamed the file with the hash, it's not work. Is there a way to bypass this error forjetzig init
? Thanks.The OS is Arch, environment variables
http_proxy https_proxy and no_proxy
are works well for all the others except zig.The text was updated successfully, but these errors were encountered: