Skip to content

[Bug]: ERR_MODULE_NOT_FOUND for nostr-tools during docker setup #48797

@pionear-layen

Description

@pionear-layen

Bug type

Crash (process/app exits or hangs)

Summary

Docker setup fails during initial configuration with a missing module error (nostr-tools), blocking the setup flow.

This issue blocks first-time setup using the official Docker workflow.

Steps to reproduce

Clone the repository:

git clone https://github.com/openclaw/openclaw.git
cd openclaw

Run:

./docker-setup.sh

Follow the interactive setup

During the model provider configuration step, the error occurs

Expected behavior

The setup process should complete successfully and allow model provider configuration.

Actual behavior

The setup crashes with the following error:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'nostr-tools' imported from /app/dist/nostr-ByYRZZkq.js

OpenClaw version

2026.3.13

Operating system

macOS (Intel)

Install method

Docker (./docker-setup.sh)

Model

all

Provider / routing chain

none

Config file / key location

No response

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:crashProcess/app exits unexpectedly or hangs

    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