{"record":{"id":"46224c0996b455ef","repo":"ruvnet/ruflo","slug":"wasm-module-name-not-registered","errorCode":null,"errorMessage":"WASM module '${name}' not registered","messagePattern":"WASM module '(.+?)' not registered","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"v3/plugins/ruvector-upstream/src/registry.ts","lineNumber":75,"sourceCode":"    entry.lastUsed = new Date();\n    entry.useCount++;\n\n    return entry.bridge as WasmBridge<T>;\n  }\n\n  /**\n   * Ensure a module is initialized (with deduplication)\n   */\n  private async ensureInitialized(name: string): Promise<void> {\n    // Check if already initializing\n    const existing = this.initPromises.get(name);\n    if (existing) {\n      return existing;\n    }\n\n    const entry = this.modules.get(name);\n    if (!entry) {\n      throw new Error(`WASM module '${name}' not registered`);\n    }\n\n    // Start initialization\n    const promise = entry.bridge.init().then(() => {\n      entry.loadedAt = new Date();\n      this.initPromises.delete(name);\n    }).catch((error) => {\n      this.initPromises.delete(name);\n      throw error;\n    });\n\n    this.initPromises.set(name, promise);\n    return promise;\n  }\n\n  /**\n   * Check if a module is registered\n   */","sourceCodeStart":57,"sourceCodeEnd":93,"githubUrl":"https://github.com/ruvnet/ruflo/blob/fa13ee4ad60ac2090b1480656eb233521790d640/v3/plugins/ruvector-upstream/src/registry.ts#L57-L93","documentation":"ensureInitialized() looked up an entry in this.modules for the requested bridge name and found none. get() was called for a WASM module that was never registered via the registry's register call — typically a typo'd module name or a missing registration step, not an initialization failure.","triggerScenarios":"Thrown at v3/plugins/ruvector-upstream/src/registry.ts:75 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Register the WASM module under this name before requesting it, or correct the module name."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"fa13ee4ad60ac2090b1480656eb233521790d640","analyzedAt":"2026-08-18T21:34:22.708Z","contentChangedAt":"2026-08-18T21:34:22.708Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}