{"record":{"id":"eb3988513ce89653","repo":"paperclipai/paperclip","slug":"command-is-not-executable-command-resolved","errorCode":null,"errorMessage":"Command is not executable: \"${command}\" (resolved: \"${absolute}\")","messagePattern":"Command is not executable: \"(.+?)\" \\(resolved: \"(.+?)\"\\)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/adapter-utils/src/server-utils.ts","lineNumber":4431,"sourceCode":"  const result: MaterializedPaperclipSkillCopyResult = {\n    copiedFiles: 0,\n    skippedSymlinks: [],\n  };\n\n  const lockDir = `${targetRoot}.lock`;\n  const releaseLock = await acquireMaterializeLock(lockDir);\n  const tempRoot = `${targetRoot}.tmp-${process.pid}-${randomUUID()}`;\n\n  async function copyEntry(\n    sourcePath: string,\n    targetPath: string,\n    relativePath: string,\n  ): Promise<void> {\n    const stat = await fs.lstat(sourcePath);\n    if (stat.isSymbolicLink()) {\n      result.skippedSymlinks.push(relativePath || \".\");\n      return;\n    }\n\n    if (stat.isDirectory()) {\n      await fs.mkdir(targetPath, { recursive: true });\n      const entries = await fs.readdir(sourcePath, { withFileTypes: true });\n      entries.sort((left, right) => left.name.localeCompare(right.name));\n      for (const entry of entries) {\n        const childRelativePath = relativePath\n          ? `${relativePath}/${entry.name}`\n          : entry.name;\n        await copyEntry(\n          path.join(sourcePath, entry.name),\n          path.join(targetPath, entry.name),\n          childRelativePath,\n        );\n      }\n      return;\n    }\n","sourceCodeStart":4413,"sourceCodeEnd":4449,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/packages/adapter-utils/src/server-utils.ts#L4413-L4449","documentation":"Error \"Command is not executable: \"${command}\" (resolved: \"${absolute}\")\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/adapter-utils/src/server-utils.ts:3283 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Make the command executable (`chmod +x`) or configure a different command."],"exampleFix":null,"handlingStrategy":null,"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"}