langgenius/dify · error · Error

Unsupported dev proxy option "${name}".

Error message

Unsupported dev proxy option "${name}".

What it means

Error "Unsupported dev proxy option "${name}"." thrown in langgenius/dify.

Source

Thrown at packages/dev-proxy/src/config.ts:62

      continue
    }

    if (arg === '--watch') {
      options.watch = true
      continue
    }

    if (arg === '--no-watch') {
      options.watch = false
      continue
    }

    const [rawName, inlineValue] = arg.split('=', 2)
    const name = rawName ?? ''

    if (!name.startsWith('-')) continue

    if (!isOptionName(name)) throw new Error(`Unsupported dev proxy option "${name}".`)

    const key = OPTION_NAME_TO_KEY[name]
    options[key] = inlineValue ?? requireOptionValue(name, argv[index + 1])

    if (inlineValue === undefined) index += 1
  }

  return options
}

const resolvePort = (rawPort: string | number) => {
  const port = Number(rawPort)
  if (!Number.isInteger(port) || port < 1 || port > 65535)
    throw new Error(`Invalid proxy port "${rawPort}". Expected an integer between 1 and 65535.`)

  return port
}

View on GitHub (pinned to ef8544b173)

When it happens

Trigger: Thrown at packages/dev-proxy/src/config.ts:62 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of langgenius/dify@ef8544b173 (2026-08-12). Data as JSON: /api/errors/28c181bde55e5d95. Report an issue: GitHub.