Skip to content

Plugin fails to load on Node.js v24: ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING #46

@zmlgit

Description

@zmlgit

Description

The plugin cannot load on Node.js v24 because package.json sets "main": "index.ts", pointing to a TypeScript source file directly. Node v24 type stripping does not support .ts files under node_modules.

Error

Error [ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING]: Stripping types is currently unsupported for files under node_modules, for "/.../node_modules/graph-memory/index.ts"

Environment

  • Node.js: v24.13.0
  • OpenClaw: 2026.3.31
  • graph-memory: 1.5.7 (GitHub source)

Suggested Fix

Add a build step (e.g. tsc) and set "main": "dist/index.js", or include pre-compiled JS in the published package. Same issue as memory-lancedb-pro#548.


Note: ClawHub install also fails with requires plugin API 2026.3.24 but runtime exposes 2026.3.31 — version check may need updating too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions