deepseek-ai/deepseek-harness · error · Error
typert-generator: cannot find workspace root above ${start}
Error message
typert-generator: cannot find workspace root above ${start} What it means
Error "typert-generator: cannot find workspace root above ${start}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/tsdown-plugin.ts:153
return Object.hasOwn(exportsField, './typert')
|| Object.hasOwn(exportsField, './client/typert')
|| Object.hasOwn(exportsField, './remote')
}
function packageRoot(start: string, workspace: string): string | undefined {
let current = resolve(start)
while (current !== workspace) {
if (existsSync(join(current, 'package.json'))) return current
current = dirname(current)
}
return undefined
}
function workspaceRoot(start: string): string {
let current = resolve(start)
while (!existsSync(join(current, 'tsconfig.host.json'))) {
const parent = dirname(current)
if (parent === current) throw new Error(`typert-generator: cannot find workspace root above ${start}`)
current = parent
}
return current
}
View on GitHub (pinned to b150a551b8)
Solutions
- Run the build from inside the workspace so the plugin can locate the workspace root.
When it happens
Trigger: Thrown at packages/typert/generator/src/tsdown-plugin.ts:153 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/61fde8bbab0e2a6d.
Report an issue: GitHub.