Skip to content

Commit

Permalink
docs(crates/turborepo): add capnp to build dependencies (#9127)
Browse files Browse the repository at this point in the history
### Description
I was setting up turborepo locally on macOS. ran into the follow error.
installing capnp fixed it
```bash
   Compiling turborepo-lockfiles v0.1.0 (turborepo/crates/turborepo-lockfiles)
error: failed to run custom build command for `turborepo-lib v0.1.0 (turborepo/crates/turborepo-lib)`

Caused by:
  process didn't exit successfully: `turborepo/target/debug/build/turborepo-lib-167cf8cfecddd530/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=./src/daemon/proto/turbod.proto
  cargo:rerun-if-changed=./src/daemon/proto

  --- stderr
  thread 'main' panicked at crates/turborepo-lib/build.rs:27:23:
  schema compiler command: Error { kind: Failed, extra: "Failed to execute `capnp --version`: No such file or directory (os error 2). Please verify that version 0.5.2 or higher of the capnp executable is installed on your system. See https://capnproto.org/install.html" }
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
```

<!--
  ✍️ Write a short summary of your work.
  If necessary, include relevant screenshots.
-->

### Testing Instructions

<!--
  Give a quick description of steps to test your changes.
-->
  • Loading branch information
aryasaatvik authored Sep 10, 2024
1 parent c84638a commit 8cffabe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turborepo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

1. Install `protobuf` and `golang` (note: Go must be pinned to v1.20.x, see https://github.com/vercel/turborepo/issues/5918 for details)

- On macOS: `brew install protobuf protoc-gen-go protoc-gen-go-grpc go@1.20`
- On macOS: `brew install protobuf protoc-gen-go protoc-gen-go-grpc go@1.20 capnp`
- On Windows: `choco install golang --version=1.20.7` and `choco install protoc make python3 mingw`
- On Ubuntu: `apt-get install golang golang-goprotobuf-dev`

Expand Down

0 comments on commit 8cffabe

Please sign in to comment.