{"record":{"id":"4dd6258bb6d4ba05","repo":"langgenius/dify","slug":"profile-requires-a-value","errorCode":null,"errorMessage":"--profile requires a value.","messagePattern":"--profile requires a value\\.","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"e2e/scripts/run-options.ts","lineNumber":81,"sourceCode":"      index += 1\n      continue\n    }\n\n    if (arg.startsWith('--pack=')) {\n      pack = arg.slice('--pack='.length)\n      if (!pack) throw new Error('--pack requires a value.')\n      continue\n    }\n\n    if (arg === '--profile') {\n      profile = readOptionValue(argv, index, '--profile')\n      index += 1\n      continue\n    }\n\n    if (arg.startsWith('--profile=')) {\n      profile = arg.slice('--profile='.length)\n      if (!profile) throw new Error('--profile requires a value.')\n      continue\n    }\n\n    forwardArgs.push(arg)\n  }\n\n  const shouldSeed = seedOnly || profile !== undefined\n  if (!shouldSeed && (allowBlocked || dryRun || pack !== 'agent-v2'))\n    throw new Error('Seed options require --seed-only or --profile.')\n  if (dryRun && !seedOnly) throw new Error('--dry-run requires --seed-only.')\n\n  return {\n    forwardArgs,\n    full,\n    headed,\n    seed: shouldSeed\n      ? {\n          allowBlocked,","sourceCodeStart":63,"sourceCodeEnd":99,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/e2e/scripts/run-options.ts#L63-L99","documentation":"Error \"--profile requires a value.\" thrown in langgenius/dify.","triggerScenarios":"Thrown at e2e/scripts/run-options.ts:81 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-12T13:17:24.610Z"}