Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/server/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ import { ServerLoggerLive } from "./serverLogger";
import { AnalyticsServiceLayerLive } from "./telemetry/Layers/AnalyticsService";
import { AnalyticsService } from "./telemetry/Services/AnalyticsService";

// Resolve the full interactive-shell PATH early so that provider health checks
// (which run during layer construction) can locate binaries installed via
// Homebrew, nvm, fnm, etc. On macOS, Electron inherits a minimal PATH that
// typically excludes /opt/homebrew/bin and similar directories.
fixPath();

export class StartupError extends Data.TaggedError("StartupError")<{
readonly message: string;
readonly cause?: unknown;
Expand Down