Skip to content

[Bug]: @openclaw/nostr plugin missing nostr-tools runtime dependency #8670

@al-munazzim

Description

@al-munazzim

Description

The @openclaw/nostr plugin requires nostr-tools at runtime but doesn't declare it as a dependency. This causes the gateway to crash on startup when the Nostr channel is enabled.

Steps to Reproduce

  1. Install OpenClaw: npm install -g openclaw@latest
  2. Install Nostr plugin: openclaw plugins install @openclaw/nostr
  3. Configure a Nostr channel in openclaw.json
  4. Start gateway: openclaw gateway start

Expected Behavior

Gateway starts successfully with Nostr channel enabled.

Actual Behavior

Gateway crashes with module not found error for nostr-tools.

Workaround

Manually install nostr-tools globally:

npm install -g nostr-tools

Environment

  • OpenClaw version: 2026.2.x
  • Node.js: v22.x
  • OS: Ubuntu 24.04

Suggested Fix

Add nostr-tools to the plugin's package.json dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions