{"record":{"id":"e495fe9717cd7e50","repo":"paperclipai/paperclip","slug":"command-command-is-not-installed-or-not-on-pa","errorCode":null,"errorMessage":"Command \"${command}\" is not installed or not on PATH in the sandbox environment${installDetail}.${probeStderr}","messagePattern":"Command \"(.+?)\" is not installed or not on PATH in the sandbox environment(.+?)\\.(.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/adapter-utils/src/execution-target.ts","lineNumber":648,"sourceCode":"    `Run exceeded the adapter execution timeout ` +\n    `(timeoutSec=${resolution.timeoutSec}, ${describeAdapterExecutionTimeoutSource(resolution.source)}). ` +\n    `Set adapterConfig.timeoutSec to raise it.`\n  );\n}\n\n/**\n * One-line start-of-run statement of the effective wall-clock timeout and its\n * source. Callers prefix with `[paperclip] ` and append a newline.\n */\nexport function formatAdapterExecutionTimeoutStartLogLine(\n  resolution: AdapterExecutionTargetTimeoutResolution,\n): string {\n  if (resolution.timeoutSec <= 0) {\n    if (resolution.source === \"configured\") {\n      return (\n        \"Adapter execution timeout: none \" +\n        \"(explicitly disabled via adapterConfig.timeoutSec; set it to a positive value to add one).\"\n      );\n    }\n    return (\n      \"Adapter execution timeout: none \" +\n      \"(no adapter wall-clock timeout for this target; set adapterConfig.timeoutSec to add one).\"\n    );\n  }\n  return (\n    `Adapter execution timeout: timeoutSec=${resolution.timeoutSec} ` +\n    `(${describeAdapterExecutionTimeoutSource(resolution.source)}; set adapterConfig.timeoutSec to override).`\n  );\n}\n\nfunction requireSandboxRunner(target: AdapterSandboxExecutionTarget): CommandManagedRuntimeRunner {\n  if (target.runner) return target.runner;\n  throw new Error(\n    \"Sandbox execution target is missing its provider runtime runner. Sandbox commands must execute through the environment runtime.\",\n  );\n}","sourceCodeStart":630,"sourceCodeEnd":666,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/packages/adapter-utils/src/execution-target.ts#L630-L666","documentation":"Environment probe result on sandbox targets: after probing (and possibly attempting the configured install command), the adapter runtime command is still not resolvable on PATH inside the sandbox; the message embeds install-attempt details and probe stderr as a startup log line.","triggerScenarios":"Thrown at packages/adapter-utils/src/execution-target.ts:612 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install \"${command}\" in the sandbox image or environment.","Use a sandbox image that already includes \"${command}\" on PATH."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f1d897a7c018d76563a21c6e39c3c9b03933622","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}