langgenius/dify · error · Error
Invalid value for --batch-size
Error message
Invalid value for --batch-size
What it means
Error "Invalid value for --batch-size" thrown in langgenius/dify.
Source
Thrown at packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.ts:62
if (arg === '--') continue
if (arg === '--verbose') {
options.verbose = true
continue
}
if (arg === '--project') {
const value = argv[i + 1]
if (!value) throw new Error('Missing value for --project')
options.project = value
i += 1
continue
}
if (arg === '--batch-size') {
const value = Number(argv[i + 1])
if (!Number.isInteger(value) || value <= 0) throw new Error('Invalid value for --batch-size')
options.batchSize = value
i += 1
continue
}
if (arg === '--batch-iterations') {
const value = Number(argv[i + 1])
if (!Number.isInteger(value) || value <= 0)
throw new Error('Invalid value for --batch-iterations')
options.batchIterations = value
i += 1
continue
}
if (arg === '--max-rounds') {
const value = Number(argv[i + 1])View on GitHub (pinned to ef8544b173)
When it happens
Trigger: Thrown at packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.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/3873f48aa1bbe2bc.
Report an issue: GitHub.