zig-npm
zig-npm copied to clipboard
Bun setup fails with this package
trafficstars
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);
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.