deepseek-ai/deepseek-harness · error
client-modules: require("${spec}") missed the module table —
Error message
client-modules: require("${spec}") missed the module table — not a platform seed word, not a materialized module, and no registered package factory (a build-time externals drift, or a dynamic dependency that did not arrive) What it means
Error "client-modules: require("${spec}") missed the module table — not a platform seed word, not a materialized module, and no registered package factory (a build-time externals drift, or a dynamic dependency that did not arrive)" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/client/modules/src/client/system.ts:182
this.materializing.delete(id)
}
}
/**
* The synchronous require answered to factories: seed → memoized record →
* registered factory. Fetching is async and therefore unreachable
* from here; an external dynamic package must have arrived before its
* consumer materializes.
*/
private makeRequire(edges: Set<string>): (spec: string) => unknown {
return (spec: string): unknown => {
edges.add(spec)
if (this.seed.has(spec)) return this.seed.get(spec)
const id = stripClientSuffix(spec)
const record = this.loadCache.get(id)
if (record !== undefined) return record.exports
if (this.factories.has(id)) return this.materialize(id).exports
throw new Error(
`client-modules: require("${spec}") missed the module table — not a platform seed word, not a materialized module, `
+ 'and no registered package factory (a build-time externals drift, or a dynamic dependency that did not arrive)',
)
}
}
async import(specifier: string): Promise<unknown> {
if (this.seed.has(specifier)) return this.seed.get(specifier)
const id = stripClientSuffix(specifier)
const existing = this.loadCache.get(id)
if (existing !== undefined) return existing.exports
const row = this.graphRows.get(id)
if (row !== undefined) {
await this.arriveGraphRow(row)
} else if (!this.factories.has(id)) {
throw new Error(
`client-modules: cannot resolve "${specifier}" — not a seed word, not a materialized module, `
+ 'and not a row in the boot graph (the runtime mirror of the bundle purity gate)',View on GitHub (pinned to b150a551b8)
Solutions
- Register a package factory for the spec or add it to the boot graph; fix the build-time externals drift.
When it happens
Trigger: Thrown at packages/client/modules/src/client/system.ts:182 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/dab47180dcc5026d.
Report an issue: GitHub.