langgenius/dify · error · Error
Missing value for --project
Error message
Missing value for --project
What it means
Error "Missing value for --project" thrown in langgenius/dify.
Source
Thrown at packages/migrate-no-unchecked-indexed-access/src/no-unchecked-indexed-access/run.ts:53
batchSize: DEFAULT_BATCH_SIZE,
maxRounds: DEFAULT_MAX_ROUNDS,
project: 'tsconfig.json',
verbose: false,
}
for (let i = 0; i < argv.length; i += 1) {
const arg = argv[i]
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)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:53 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/cbfea03538adb5e8.
Report an issue: GitHub.