deepseek-ai/deepseek-harness · error · TypertAnalysisError
typert(${this.face}): ${registration.name} export ${subpath}
Error message
typert(${this.face}): ${registration.name} export ${subpath} resolves to missing source ${sourcePath} What it means
Error "typert(${this.face}): ${registration.name} export ${subpath} resolves to missing source ${sourcePath}" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/generator/src/analyzer.ts:732
? this.collectInvocations(registration, reachable).sort((left, right) => left.id.localeCompare(right.id))
: [],
}
}
private collectExports(registration: PackageRegistration): ExportRecord[] {
const targets = packageExportTargets(registration.manifest)
.filter(([subpath]) => registration.exportSubpaths === undefined
|| registration.exportSubpaths.includes(subpath))
const records: ExportRecord[] = []
for (const [subpath, target] of targets) {
if (target.includes('*') || subpath === './package.json'
|| subpath === './typert' || subpath === './client/typert' || subpath === './remote'
// Data exports (bundle patch lists, JSON manifests) carry no TypeScript API.
|| target.endsWith('.json') || target.endsWith('.yml') || target.endsWith('.yaml')) continue
const sourcePath = sourcePathForExport(registration.root, target)
const sourceFile = this.sourceFiles.get(realPath(sourcePath))
if (sourceFile === undefined) {
throw new TypertAnalysisError(
`typert(${this.face}): ${registration.name} export ${subpath} resolves to missing source ${sourcePath}`,
)
}
const moduleSymbol = this.checker.getSymbolAtLocation(sourceFile)
if (moduleSymbol === undefined) continue
for (const exported of this.checker.getExportsOfModule(moduleSymbol)) {
const symbol = this.resolveSymbol(exported)
const declaration = preferredDeclaration(symbol) as ts.Declaration
const aliases = exported === symbol || exported.name === symbol.name
? [exported.name]
: [exported.name, symbol.name]
records.push({
model: {
subpath,
name: exported.name,
symbol: this.symbolId(symbol),
aliases,
},View on GitHub (pinned to b150a551b8)
Solutions
- Restore the missing source file or fix the export subpath mapping so it resolves.
When it happens
Trigger: Thrown at packages/typert/generator/src/analyzer.ts:732 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/558e9ba168fafb15.
Report an issue: GitHub.