{"record":{"id":"30e653ce05a44bb7","repo":"diegosouzapw/OmniRoute","slug":"no-binary-found-for-tool-run-installtool-to","errorCode":null,"errorMessage":"No binary found for ${tool}. Run installTool('${tool}') or set binaryPath in version manager.","messagePattern":"No binary found for (.+?)\\. Run installTool\\('(.+?)'\\) or set binaryPath in version manager\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"src/lib/versionManager/index.ts","lineNumber":47,"sourceCode":"    tool,\n    installedVersion: targetVersion,\n    binaryPath,\n    status: \"installed\",\n  });\n\n  return { installedVersion: targetVersion, binaryPath };\n}\n\nexport async function startTool(tool: string): Promise<{\n  pid: number;\n  port: number;\n  health?: Awaited<ReturnType<typeof checkHealth>>;\n}> {\n  const info = await getVersionManagerTool(tool);\n  const binaryPath = info?.binaryPath || (await getCurrentBinaryPath());\n\n  if (!binaryPath) {\n    throw new Error(\n      `No binary found for ${tool}. Run installTool('${tool}') or set binaryPath in version manager.`\n    );\n  }\n\n  const { pid, port } = await startProcess(binaryPath, info?.port || undefined);\n\n  const url = `http://127.0.0.1:${port}`;\n  startMonitoring(tool, url);\n\n  const health = await checkHealth(url);\n\n  return { pid, port, health };\n}\n\nexport async function stopTool(tool: string): Promise<void> {\n  const info = await getVersionManagerTool(tool);\n\n  stopMonitoring(tool);","sourceCodeStart":29,"sourceCodeEnd":65,"githubUrl":"https://github.com/diegosouzapw/OmniRoute/blob/a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d/src/lib/versionManager/index.ts#L29-L65","documentation":"Error \"No binary found for ${tool}. Run installTool('${tool}') or set binaryPath in version manager.\" thrown in diegosouzapw/OmniRoute.","triggerScenarios":"Thrown at src/lib/versionManager/index.ts:47 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a179ffed5bb2e0b883b9ae7214ce8717b2a94c4d","analyzedAt":"2026-08-25T18:35:09.898Z","schemaVersion":2},"datasetVersion":"2026-08-25T21:54:21.419Z"}