musistudio/claude-code-router · error · Error
${appName} did not open a window for ${profile.name || profi
Error message
${appName} did not open a window for ${profile.name || profile.id}. ... Command: ${entry.command} User data: ${entry.userDataDir} What it means
Error "${appName} did not open a window for ${profile.name || profile.id}. ... Command: ${entry.command} User data: ${entry.userDataDir}" thrown in musistudio/claude-code-router.
Source
Thrown at packages/core/src/profiles/launch-service.ts:314
return {
message: `${appName} is already running with ${profile.name || profile.id}.`,
profileId: profile.id,
profileName: profile.name,
surface: "app"
};
}
}
const launch = profile.agent === "zcode"
? launchZcodeAppProfile(CONFIGDIR, profile, profileGatewayConfig)
: profile.agent === "workbuddy"
? launchWorkbuddyAppProfile(CONFIGDIR, profile, profileGatewayConfig)
: launchCodexAppProfile(CONFIGDIR, profile, profileGatewayConfig);
const entry = registerProfileApp(profile, "app", launch);
const started = await waitForProfileAppStart(entry, 12000);
if (!started) {
cleanupProfileAppEntry(profileRuntimeKey(profile.id, "app"), entry);
sendProfileProcessSignal(entry.pid, "SIGTERM");
throw new Error([
`${appName} did not open a window for ${profile.name || profile.id}.`,
...(entry.spawnError ? [`Error: ${entry.spawnError}`] : []),
`Command: ${entry.command}`,
`User data: ${entry.userDataDir}`
].join(" "));
}
activateProfileAppWindow(entry);
startCodexAppBotWorker(profileGatewayConfig, profile);
startCodexAppMediaPreviewBridge(profileGatewayConfig, profile, entry.userDataDir);
return {
message: `Opened ${appName} with ${profile.name || profile.id}.`,
profileId: profile.id,
profileName: profile.name,
surface: "app"
};
}
async function openClaudeAppProfile(config: AppConfig, profile: ReturnType<typeof findProfileForOpen>): Promise<ProfileOpenResult> {View on GitHub (pinned to 99f24806c6)
When it happens
Trigger: Thrown at packages/core/src/profiles/launch-service.ts:314 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of musistudio/claude-code-router@99f24806c6 (2026-08-27).
Data as JSON: /api/errors/73e862d3906debd2.
Report an issue: GitHub.