langgenius/dify · error · Error

--pack requires a value.

Error message

--pack requires a value.

What it means

Error "--pack requires a value." thrown in langgenius/dify.

Source

Thrown at e2e/scripts/run-options.ts:69

    if (arg === '--allow-blocked') {
      allowBlocked = true
      continue
    }

    if (arg === '--dry-run') {
      dryRun = true
      continue
    }

    if (arg === '--pack') {
      pack = readOptionValue(argv, index, '--pack')
      index += 1
      continue
    }

    if (arg.startsWith('--pack=')) {
      pack = arg.slice('--pack='.length)
      if (!pack) throw new Error('--pack requires a value.')
      continue
    }

    if (arg === '--profile') {
      profile = readOptionValue(argv, index, '--profile')
      index += 1
      continue
    }

    if (arg.startsWith('--profile=')) {
      profile = arg.slice('--profile='.length)
      if (!profile) throw new Error('--profile requires a value.')
      continue
    }

    forwardArgs.push(arg)
  }

View on GitHub (pinned to ef8544b173)

When it happens

Trigger: Thrown at e2e/scripts/run-options.ts:69 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/9eed9e93cf366f6b. Report an issue: GitHub.