turbo: [turborepo]: ERROR Unable to find Go binary
What version of Turborepo are you using?
1.10.6
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Linux
Describe the Bug
ERROR Unable to find Go binary. Please report this issue at https://github.com/vercel/turbo/issues and include your package manager and version along with the following information:
--
11:57:02.260 | os=linux
11:57:02.260 | arch=x86_64
11:57:02.260 | turbo-version=1.10.6
11:57:02.260 | turbo-bin=/vercel/path0/node_modules/turbo/bin/turbo
11:57:02.260 | go-turbo-bin=/vercel/path0/node_modules/turbo/bin/go-turbo
11:57:02.260 |
11:57:02.260 | Error: Failed to execute turbo (Unable to locate Go binary).
11:57:02.274 | Error: Command "cd ../.. && npm run build:init" exited with 1
11:57:02.785 | BUILD_UTILS_SPAWN_1: Command "cd ../.. && npm run build:init" exited with 1
Expected Behavior
Should find Go binary
To Reproduce
Build step in Vercel
Reproduction Repo
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 21 (4 by maintainers)
Commits related to this issue
- ci(root): fixing initial CI implementation downgraded turbo version because of this issue https://github.com/vercel/turbo/issues/5381 — committed to windyroad/very-fetching by tompahoward a year ago
- update turbo to resolve issue in GH actions: https://github.com/vercel/turbo/issues/5381 — committed to infrascan/infrascan by lfarrel6 a year ago
This happened to me as well after upgrading from
v1.9.1=>v1.10.11. Worked locally but broke on CI (GH actions with npm). Upgrading tov1.10.12(which had coincidentally just come out) solved the issue.Downgrading to
turbo 1.9.7fixed this for meI’m facing the same issue on my local machine.
I’ve installed Go using Homebrew.
Turborepo version: 1.10.6 package manager: pnpm operating system: macOS Ventura 13.2.1
This appears to work fine locally, but the build step fails on Vercel.