Skip to content

Commit ccb2fcf

Browse files
committed
add Homebrew Bun ENOENT workaround to known issues
1 parent 89c73ed commit ccb2fcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/guides/frameworks/bun.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ import CliViewRunStep from "/snippets/step-view-run.mdx";
2323
## Known issues
2424

2525
- Certain OpenTelemetry instrumentation will not work with Bun, because Bun does not support Node's `register` hook. This means that some libraries that rely on this hook will not work with Bun.
26+
- If Bun is installed via Homebrew (e.g. `/opt/homebrew/bin/bun`), you may see an `ENOENT: spawn /Users/<you>/.bun/bin/bun` error because the CLI expects Bun at the default install path. **Workaround:** create a symlink:
27+
```bash
28+
ln -s $(which bun) ~/.bun/bin/bun
29+
```
2630

2731
## Initial setup
2832

0 commit comments

Comments
 (0)