7 months ago
Hey, so suddenly my builds for one of my apps in my monorepo has started failing with the following error:
bun --filter @trackr/api run build
155ms
error: ENOENT
ERROR: failed to build: failed to solve: process "sh -c bun --filter @trackr/api run build" did not complete successfully: exit code: 1
When I run the build command locally, it builds fine. It was working before and after a couple commits it stopped working (those commits just changed a couple API routes)
3 Replies
7 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 failed to solve: process "bun install --frozen-lockfile" did not complete successfully: exit code: 1
- 🧵 Error opening Bun Function
- 🧵 How come my workspace is not recognized?
If you find the answer from one of these, please let us know by solving the thread!
7 months ago
Here is the build command that it's running
"build": "bun --bun build src/index.ts --outdir dist --target=bun"As mentioned above, that builds fine locally
7 months ago
Resolved by changing custom build command to
turbo run build --filter=@trackr/api
Status changed to Solved jedpattersonn • 7 months ago