deepseek-ai/deepseek-harness · error · Error
typert-loader: configured package "${pkgName}" does not expo
Error message
typert-loader: configured package "${pkgName}" does not export "${TYPERT_HOST_EXPORT}" What it means
Error "typert-loader: configured package "${pkgName}" does not export "${TYPERT_HOST_EXPORT}"" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/typert/loader/src/index.ts:336
let pkgPath: string
try {
pkgPath = require.resolve(`${pkgName}/package.json`)
} catch (cause) {
if (configured.has(pkgName)) {
throw new Error(
`typert-loader: configured package "${pkgName}" cannot be resolved from the config tree — add it to the composition package dependencies or remove it from packages`,
{ cause },
)
}
// Not a resolvable package root: loader builtins (cordis:include) and
// subpath entries land here — permanently not a typert contributor.
artifactPath.set(pkgName, null)
return null
}
const pkg = JSON.parse(readFileSync(pkgPath, 'utf8')) as Record<string, unknown>
const rel = typertExportOf(pkgName, pkg.exports)
if (rel === undefined && configured.has(pkgName)) {
throw new Error(`typert-loader: configured package "${pkgName}" does not export "${TYPERT_HOST_EXPORT}"`)
}
const resolved = rel === undefined ? null : join(dirname(pkgPath), rel)
artifactPath.set(pkgName, resolved)
return resolved
}
const loadManifest = (pkgName: string, path: string): Promise<TypertContribution> => {
let loading = manifests.get(pkgName)
if (loading === undefined) {
loading = import(pathToFileURL(path).href).then(
(mod: Record<string, unknown>) => validateTypertManifest(pkgName, mod.TYPERT),
(cause: unknown) => {
throw new Error(
`typert-loader: ${pkgName} exports "${TYPERT_HOST_EXPORT}" but importing ${path} failed: ${String(cause)}`,
)
},
)
manifests.set(pkgName, loading)View on GitHub (pinned to b150a551b8)
Solutions
- Add the typert host export to the package, or remove the package from the typert configuration.
When it happens
Trigger: Thrown at packages/typert/loader/src/index.ts:336 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/26cb11101b16f205.
Report an issue: GitHub.