oven-sh/bun · error · Error
No program specified
Error message
No program specified
What it means
Error "No program specified" thrown in oven-sh/bun.
Source
Thrown at packages/bun-debug-adapter-protocol/src/debugger/adapter.ts:2175
}
async #launch(request: LaunchRequest): Promise<void> {
const {
runtime = "bun",
runtimeArgs = [],
program,
args = [],
cwd,
env = {},
strictEnv = false,
watchMode = false,
stopOnEntry = false,
__skipValidation = false,
stdin,
} = request;
if (!__skipValidation && !program) {
throw new Error("No program specified");
}
const processArgs = [...runtimeArgs];
if (program === "-" && stdin) {
processArgs.push("--eval", stdin);
} else if (program) {
processArgs.push(program);
}
processArgs.push(...args);
if (program && isTestJavaScript(program) && !runtimeArgs.includes("test")) {
processArgs.unshift("test");
}
if (watchMode && !runtimeArgs.includes("--watch") && !runtimeArgs.includes("--hot")) {
processArgs.unshift(watchMode === "hot" ? "--hot" : "--watch");View on GitHub (pinned to 8c5296ac45)
When it happens
Trigger: Thrown at packages/bun-debug-adapter-protocol/src/debugger/adapter.ts:2175 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of oven-sh/bun@8c5296ac45 (2026-08-16).
Data as JSON: /api/errors/4b838555b302293b.
Report an issue: GitHub.