{"record":{"id":"163917233a896937","repo":"JuliusBrussee/caveman","slug":"binary-download-stalled-after-seconds-s-nothin","errorCode":null,"errorMessage":"binary download stalled after ${seconds}s — nothing installed; agents still launch, traffic is NOT compressed or metered\\nfix: caveman setup --install","messagePattern":"binary download stalled after (.+?)s — nothing installed; agents still launch, traffic is NOT compressed or metered\\\\nfix: caveman setup --install","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/cli/src/index.ts","lineNumber":2154,"sourceCode":"  const line = `${name}  ${platform.os}/${platform.arch}  …`;\n  if (interactive()) process.stderr.write(line);\n  else console.error(line);\n}\n\nfunction installProgressComplete(\n  name: string,\n  platform: { os: string; arch: string },\n  bytes: number,\n) {\n  const line = `${name}  ${platform.os}/${platform.arch}  ${(bytes / 1_000_000).toFixed(1)} MB  checksum verified`;\n  if (interactive()) process.stderr.write(`\\r${line}\\n`);\n  else console.error(line);\n}\n\nfunction setupInstallFailure(error: unknown, timeoutSeconds: number): never {\n  if (interactive()) process.stderr.write(\"\\n\");\n  if (error instanceof BinaryDownloadError && error.kind === \"stalled\") {\n    throw new Error(`${OFF_STATES.downloadStalled(timeoutSeconds).line}\\nfix: ${OFF_STATES.downloadStalled(timeoutSeconds).fix}`);\n  }\n  throw new Error(`${OFF_STATES.downloadUnreachable.line}\\nfix: ${OFF_STATES.downloadUnreachable.fix}`);\n}\n\nfunction printInstallResult(\n  installed: InstalledBinary[],\n  platform: { os: string; arch: string },\n  binDir: string,\n  json: boolean,\n  continuing = false,\n) {\n  if (json) {\n    print({\n      release: BINARY_RELEASE,\n      platform: `${platform.os}/${platform.arch}`,\n      target: binDir,\n      binaries: installed,\n      next: \"caveman claude\",","sourceCodeStart":2136,"sourceCodeEnd":2172,"githubUrl":"https://github.com/JuliusBrussee/caveman/blob/27d5a3981a347890211bb1bf2439e5c821a63bc9/packages/cli/src/index.ts#L2136-L2172","documentation":"Error \"binary download stalled after ${seconds}s — nothing installed; agents still launch, traffic is NOT compressed or metered\\nfix: caveman setup --install\" thrown in JuliusBrussee/caveman.","triggerScenarios":"Thrown at packages/cli/src/index.ts:2154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry caveman setup --install on a stable network; the download stalled and nothing was installed."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"27d5a3981a347890211bb1bf2439e5c821a63bc9","analyzedAt":"2026-08-15T09:26:11.751Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}