-
Notifications
You must be signed in to change notification settings - Fork 83
Plugin fails to load: Cannot find module internal/tslib.js #37
Copy link
Copy link
Open
Description
Bug Description
Plugin fails to load with error: Cannot find module './internal/tslib.js'
Environment
- OpenClaw version: 2026.3.23-2
- Plugin version: 2.0.22
- Node.js environment
- Windows
Steps to Reproduce
- Install plugin via: openclaw plugins install @supermemory/openclaw-supermemory
- Add to plugins.allow list
- Run openclaw plugins list or openclaw status
Error Details
The error occurs when loading the Supermemory SDK:
Error: Cannot find module './internal/tslib.js'
at C:\Users\Administrator.openclaw\extensions\openclaw-supermemory\node_modules\supermemory\client.js
The supermemory package client.js uses require('./internal/tslib.js') but the path resolution fails within the OpenClaw plugin context. The file does exist at node_modules/supermemory/internal/tslib.js.
Expected Behavior
Plugin should load successfully and connect to Supermemory API using the configured API key.
Additional Context
- API Key is configured via SUPERMEMORY_OPENCLAW_API_KEY environment variable
- The tslib module exists at: node_modules/tslib (top level)
- The file node_modules/supermemory/internal/tslib.js does exist but require path resolution seems incorrect
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels