{"record":{"id":"37c7caa9c2ac8a0a","repo":"paperclipai/paperclip","slug":"warning-re-run-with-yes-to-consent-in-non-int","errorCode":null,"errorMessage":"${warning} Re-run with --yes to consent in non-interactive environments.","messagePattern":"(.+?) Re-run with --yes to consent in non-interactive environments\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"cli/src/commands/install.ts","lineNumber":347,"sourceCode":"  if (!process.stdin.isTTY || !process.stdout.isTTY || !rcPath) {\n    console.log(pc.yellow(`Add Paperclip to PATH for this shell:\\n  ${manualInstruction}`));\n    return;\n  }\n  const confirmed = options.yes === true ? true : await p.confirm({ message: `Add ~/.local/bin to PATH in ${rcPath}?`, initialValue: true });\n  if (p.isCancel(confirmed) || !confirmed) {\n    console.log(pc.yellow(`PATH was not changed. Run:\\n  ${manualInstruction}`));\n    return;\n  }\n  const changed = addManagedPathBlock(rcPath);\n  console.log(changed ? pc.green(`Updated ${rcPath}.`) : pc.dim(`${rcPath} already contains the PATH block.`));\n}\n\nasync function confirmGitInstall(options: InstallOptions, repo: string, ref: string): Promise<void> {\n  const warning = `Installing ${repo}@${ref} executes dependency and build scripts from that repository.`;\n  console.log(pc.yellow(`Warning: ${warning}`));\n  if (options.yes === true) return;\n  if (!process.stdin.isTTY || !process.stdout.isTTY) {\n    throw new Error(`${warning} Re-run with --yes to consent in non-interactive environments.`);\n  }\n  const confirmed = await p.confirm({\n    message: `${warning} Continue?`,\n    initialValue: false,\n  });\n  if (p.isCancel(confirmed) || !confirmed) {\n    throw new Error(\"Git-ref install cancelled before downloading or executing repository code.\");\n  }\n}\n\nexport async function installCommand(\n  options: InstallOptions,\n  dependencies: { runCommand?: CommandRunner; now?: () => Date } = {},\n): Promise<void> {\n  assertSupportedNodeVersion();\n  const runCommand = dependencies.runCommand ?? runCommandWithDiagnostics;\n  const gitRequest = resolveGitInstallRequest(options);\n  if (gitRequest) {","sourceCodeStart":329,"sourceCodeEnd":365,"githubUrl":"https://github.com/paperclipai/paperclip/blob/67001ec6eb96ae601aa27bc91d9b2415d665334a/cli/src/commands/install.ts#L329-L365","documentation":"Error \"${warning} Re-run with --yes to consent in non-interactive environments.\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at cli/src/commands/install.ts:347 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":"67001ec6eb96ae601aa27bc91d9b2415d665334a","analyzedAt":"2026-08-12T12:05:45.408Z","schemaVersion":2},"datasetVersion":"2026-08-12T18:17:37.767Z"}