musistudio/claude-code-router · error · Error

Claude App did not open a window for ${profile.name || profi

Error message

Claude App did not open a window for ${profile.name || profile.id}. ... Command: ${entry.command} User data: ${entry.userDataDir}

What it means

Error "Claude App 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:361

    };
  }

  applyClaudeAppGatewayConfig(profileGatewayConfig, {
    defaultModel: profile.model
  });
  applyClaudeAppGatewayConfig(profileGatewayConfig, {
    backup: false,
    dataDir: resolveClaudeAppProfileUserDataDir(CONFIGDIR, profile),
    defaultModel: profile.model,
    refreshModelDiscoveryCache: true
  });
  await ensureGatewayConfigRunning(profileGatewayConfig, profile, "Claude App");
  const entry = registerProfileApp(profile, "app", await launchClaudeAppProfile(CONFIGDIR, profile, profileGatewayConfig));
  const started = await waitForProfileAppStart(entry, 12000);
  if (!started) {
    cleanupProfileAppEntry(profileRuntimeKey(profile.id, "app"), entry);
    sendProfileProcessSignal(entry.pid, "SIGTERM");
    throw new Error([
      `Claude App 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);
  startClaudeAppBotWorker(config, profile);
  return {
    message: `Opened Claude App with ${profile.name || profile.id}.`,
    profileId: profile.id,
    profileName: profile.name,
    surface: "app"
  };
}

export async function ensureProfileGateway(
  config: AppConfig,

View on GitHub (pinned to 99f24806c6)

When it happens

Trigger: Thrown at packages/core/src/profiles/launch-service.ts:361 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/283680f4ade42270. Report an issue: GitHub.