{"record":{"id":"2b03263bfb0e4411","repo":"langgenius/dify","slug":"missing-value-for-name","errorCode":null,"errorMessage":"Missing value for ${name}.","messagePattern":"Missing value for (.+?)\\.","errorType":"validation","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/dev-proxy/src/config.ts","lineNumber":29,"sourceCode":"\nconst DEFAULT_CONFIG_FILE = 'dev-proxy.config.ts'\nconst DEFAULT_PROXY_HOST = '127.0.0.1'\nconst DEFAULT_PROXY_PORT = 5001\n\nconst OPTION_NAME_TO_KEY = {\n  '--config': 'config',\n  '-c': 'config',\n  '--env-file': 'envFile',\n  '--host': 'host',\n  '--port': 'port',\n} as const\n\ntype OptionName = keyof typeof OPTION_NAME_TO_KEY\n\nconst isOptionName = (value: string): value is OptionName => value in OPTION_NAME_TO_KEY\n\nconst requireOptionValue = (name: string, value?: string) => {\n  if (!value || value.startsWith('-')) throw new Error(`Missing value for ${name}.`)\n\n  return value\n}\n\nexport const parseDevProxyCliArgs = (argv: readonly string[]): DevProxyCliOptions => {\n  const options: DevProxyCliOptions = {}\n\n  for (let index = 0; index < argv.length; index += 1) {\n    const arg = argv[index]!\n\n    if (arg === '--') continue\n\n    if (arg === '--help' || arg === '-h') {\n      options.help = true\n      continue\n    }\n\n    if (arg === '--watch') {","sourceCodeStart":11,"sourceCodeEnd":47,"githubUrl":"https://github.com/langgenius/dify/blob/ef8544b173fd6cd7a8e71df2cab576e52bebbfbc/packages/dev-proxy/src/config.ts#L11-L47","documentation":"Error \"Missing value for ${name}.\" thrown in langgenius/dify.","triggerScenarios":"Thrown at packages/dev-proxy/src/config.ts:29 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"}