deepseek-ai/deepseek-harness · error

client-modules: prefetch("${id}") — not a graph entry

Error message

client-modules: prefetch("${id}") — not a graph entry

What it means

Error "client-modules: prefetch("${id}") — not a graph entry" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/client/modules/src/client/system.ts:210

    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)',
      )
    }
    return this.materialize(id).exports
  }

  async prefetch(id: string): Promise<void> {
    const normalized = stripClientSuffix(id)
    if (this.loadCache.has(normalized)) return
    const row = this.graphRows.get(normalized)
    if (row === undefined) throw new Error(`client-modules: prefetch("${id}") — not a graph entry`)
    await this.arriveGraphRow(row)
  }

  invalidate(id: string): void {
    const normalized = stripClientSuffix(id)
    if (this.bootstrapIds.has(normalized)) return
    this.factories.delete(normalized)
    this.loadCache.delete(normalized)
  }
}

View on GitHub (pinned to b150a551b8)

Solutions

  1. Prefetch only ids that are entries in the boot graph.

When it happens

Trigger: Thrown at packages/client/modules/src/client/system.ts:210 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/709088680ff4e074. Report an issue: GitHub.