zipsegvZ
Denoβ€’5mo agoβ€’
3 replies
zipsegv

Compiling Deno from source: Could not run `gn`: Os { code: 2, kind: NotFound, message: "No such file

I'm currently trying to compile Deno from source on raspbian arm32 (since there's no prebuilt binaries for arm32) and I'm running into the following error:
The current directory is /home/z/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/v8-137.2.1
  gn gen --root=/home/z/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/v8-137.2.1 /tmp/cargo-installoYPBs7/release/gn_out

  --- stderr

  thread 'main' panicked at /home/z/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/v8-137.2.1/build.rs:966:10:
  Could not run `gn`: Os { code: 2, kind: NotFound, message: "No such file or directory" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I have gn installed via apt and I can run it from the commandline, so I'm not sure why I'm getting this error.
Was this page helpful?