Skip to content

Plugin fails to load on Windows: Cannot find module './internal/utils/uuid.js' #17

@bob-assistant

Description

@bob-assistant

Environment

  • OS: Windows 11 (10.0.26100, x64)
  • Node.js: v22.20.0
  • OpenClaw: 2026.2.13
  • Plugin version: 1.0.5
  • supermemory SDK: ^4.0.0

Steps to Reproduce

  1. openclaw plugins install @supermemory/openclaw-supermemory
  2. Plugin downloads and extracts successfully
  3. npm install --omit=dev in the extension directory completes (431 packages)
  4. Run openclaw supermemory status

Error

[plugins] openclaw-supermemory failed to load from C:\Users\alexa\.openclaw\extensions\openclaw-supermemory\index.ts: 
Error: Cannot find module './internal/utils/uuid.js'
Require stack:
- C:\Users\alexa\.openclaw\extensions\openclaw-supermemory\node_modules\supermemory\client.js

Analysis

The supermemory npm package (v4.x) has an ESM module resolution issue on Windows + Node.js. The client.js file references ./internal/utils/uuid.js which cannot be resolved by Node's CommonJS require on Windows.

This is likely a path resolution or ESM/CJS interop issue in the supermemory SDK itself, not in the OpenClaw plugin code.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions