{"record":{"id":"dab47180dcc5026d","repo":"deepseek-ai/deepseek-harness","slug":"client-modules-require-spec-missed-the-modu","errorCode":null,"errorMessage":"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)","messagePattern":"client-modules: require\\(\"(.+?)\"\\) 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\\)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/client/modules/src/client/system.ts","lineNumber":182,"sourceCode":"      this.materializing.delete(id)\n    }\n  }\n\n  /**\n   * The synchronous require answered to factories: seed → memoized record →\n   * registered factory. Fetching is async and therefore unreachable\n   * from here; an external dynamic package must have arrived before its\n   * consumer materializes.\n   */\n  private makeRequire(edges: Set<string>): (spec: string) => unknown {\n    return (spec: string): unknown => {\n      edges.add(spec)\n      if (this.seed.has(spec)) return this.seed.get(spec)\n      const id = stripClientSuffix(spec)\n      const record = this.loadCache.get(id)\n      if (record !== undefined) return record.exports\n      if (this.factories.has(id)) return this.materialize(id).exports\n      throw new Error(\n        `client-modules: require(\"${spec}\") missed the module table — not a platform seed word, not a materialized module, `\n        + 'and no registered package factory (a build-time externals drift, or a dynamic dependency that did not arrive)',\n      )\n    }\n  }\n\n  async import(specifier: string): Promise<unknown> {\n    if (this.seed.has(specifier)) return this.seed.get(specifier)\n    const id = stripClientSuffix(specifier)\n    const existing = this.loadCache.get(id)\n    if (existing !== undefined) return existing.exports\n    const row = this.graphRows.get(id)\n    if (row !== undefined) {\n      await this.arriveGraphRow(row)\n    } else if (!this.factories.has(id)) {\n      throw new Error(\n        `client-modules: cannot resolve \"${specifier}\" — not a seed word, not a materialized module, `\n        + 'and not a row in the boot graph (the runtime mirror of the bundle purity gate)',","sourceCodeStart":164,"sourceCodeEnd":200,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/modules/src/client/system.ts#L164-L200","documentation":"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.","triggerScenarios":"Thrown at packages/client/modules/src/client/system.ts:182 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register a package factory for the spec or add it to the boot graph; fix the build-time externals drift."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}