{"record":{"id":"cbfea03538adb5e8","repo":"langgenius/dify","slug":"missing-value-for-project-cbfea0","errorCode":null,"errorMessage":"Missing value for --project","messagePattern":"Missing value for --project","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.ts","lineNumber":53,"sourceCode":"    batchSize: DEFAULT_BATCH_SIZE,\n    maxRounds: DEFAULT_MAX_ROUNDS,\n    project: 'tsconfig.json',\n    verbose: false,\n  }\n\n  for (let i = 0; i < argv.length; i += 1) {\n    const arg = argv[i]\n\n    if (arg === '--') continue\n\n    if (arg === '--verbose') {\n      options.verbose = true\n      continue\n    }\n\n    if (arg === '--project') {\n      const value = argv[i + 1]\n      if (!value) throw new Error('Missing value for --project')\n\n      options.project = value\n      i += 1\n      continue\n    }\n\n    if (arg === '--batch-size') {\n      const value = Number(argv[i + 1])\n      if (!Number.isInteger(value) || value <= 0) throw new Error('Invalid value for --batch-size')\n\n      options.batchSize = value\n      i += 1\n      continue\n    }\n\n    if (arg === '--batch-iterations') {\n      const value = Number(argv[i + 1])\n      if (!Number.isInteger(value) || value <= 0)","sourceCodeStart":35,"sourceCodeEnd":71,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.ts#L35-L71","documentation":"Error \"Missing value for --project\" thrown in langgenius/dify.","triggerScenarios":"Thrown at packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.ts:53 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":"ef8544b173fd6cd7a8e71df2cab576e52bebbfbc","analyzedAt":"2026-08-12T05:15:17.394Z","schemaVersion":2},"datasetVersion":"2026-08-12T12:31:55.035Z"}