From ccb2fcf9d8c931ff0aacae0ccd3defc74763acf0 Mon Sep 17 00:00:00 2001 From: isshaddad Date: Tue, 24 Feb 2026 15:15:20 -0500 Subject: [PATCH 1/2] add Homebrew Bun ENOENT workaround to known issues --- docs/guides/frameworks/bun.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/guides/frameworks/bun.mdx b/docs/guides/frameworks/bun.mdx index d4115138250..502304d0dc3 100644 --- a/docs/guides/frameworks/bun.mdx +++ b/docs/guides/frameworks/bun.mdx @@ -23,6 +23,10 @@ import CliViewRunStep from "/snippets/step-view-run.mdx"; ## Known issues - 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. +- If Bun is installed via Homebrew (e.g. `/opt/homebrew/bin/bun`), you may see an `ENOENT: spawn /Users//.bun/bin/bun` error because the CLI expects Bun at the default install path. **Workaround:** create a symlink: + ```bash + ln -s $(which bun) ~/.bun/bin/bun + ``` ## Initial setup From aaa7f4e182c13d8674749a23e408455b6e994739 Mon Sep 17 00:00:00 2001 From: isshaddad Date: Tue, 24 Feb 2026 15:26:03 -0500 Subject: [PATCH 2/2] coderabbit fixes --- docs/guides/frameworks/bun.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/frameworks/bun.mdx b/docs/guides/frameworks/bun.mdx index 502304d0dc3..3b9f7ccce23 100644 --- a/docs/guides/frameworks/bun.mdx +++ b/docs/guides/frameworks/bun.mdx @@ -25,7 +25,7 @@ import CliViewRunStep from "/snippets/step-view-run.mdx"; - 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. - If Bun is installed via Homebrew (e.g. `/opt/homebrew/bin/bun`), you may see an `ENOENT: spawn /Users//.bun/bin/bun` error because the CLI expects Bun at the default install path. **Workaround:** create a symlink: ```bash - ln -s $(which bun) ~/.bun/bin/bun + mkdir -p ~/.bun/bin && ln -s $(which bun) ~/.bun/bin/bun ``` ## Initial setup