Skip to content
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

Bun setup fails with this package #2

Open
gamedevsam opened this issue Oct 29, 2023 · 1 comment
Open

Bun setup fails with this package #2

gamedevsam opened this issue Oct 29, 2023 · 1 comment

Comments

@gamedevsam
Copy link

I got this error when running bun setup after installing Zig with this package:

/home/samuel/WSL_Dev/Personal/bun/build.zig:194:13: error: The minimum version of Zig required to compile Bun is 0.12.0-dev.1297+a9e66ed73, found 0.12.0-dev.1286+cc394431a
            @compileError("The minimum version of Zig required to compile Bun is " ++ recommended_zig_version ++ ", found " ++ @import("builtin").zig_version_string);
@gamedevsam
Copy link
Author

I fixed this by running cp -r zig-linux-x86_64-0.12.0-dev.1342+13c7aa5fe/* ~/.bun/install/global/node_modules/@oven/zig-linux-x64 after doing wget https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.1342+13c7aa5fe.tar.xz.

Still, quite annoying that the official docs don't work out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant