{"record":{"id":"9eed9e93cf366f6b","repo":"langgenius/dify","slug":"pack-requires-a-value","errorCode":null,"errorMessage":"--pack requires a value.","messagePattern":"--pack requires a value\\.","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"e2e/scripts/run-options.ts","lineNumber":69,"sourceCode":"    if (arg === '--allow-blocked') {\n      allowBlocked = true\n      continue\n    }\n\n    if (arg === '--dry-run') {\n      dryRun = true\n      continue\n    }\n\n    if (arg === '--pack') {\n      pack = readOptionValue(argv, index, '--pack')\n      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","sourceCodeStart":51,"sourceCodeEnd":87,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/e2e/scripts/run-options.ts#L51-L87","documentation":"Error \"--pack requires a value.\" thrown in langgenius/dify.","triggerScenarios":"Thrown at e2e/scripts/run-options.ts:69 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"}