langgenius/dify · error · Error
Invalid value for --batch-iterations
Error message
Invalid value for --batch-iterations
What it means
Error "Invalid value for --batch-iterations" thrown in langgenius/dify.
Source
Thrown at packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.ts:72
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])
if (!Number.isInteger(value) || value <= 0) throw new Error('Invalid value for --max-rounds')
options.maxRounds = value
i += 1
continue
}
throw new Error(`Unknown option: ${arg}`)
}
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:72 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/4664bfdba9315aa3.
Report an issue: GitHub.