-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
Bug Description
Node registers with hub successfully ([Heartbeat] Registered with hub. Node: node_xxx) but the process exits immediately after with MODULE_NOT_FOUND error or crashes silently.
Environment
- Node.js: v22.19.0
- OS: Linux (Synology NAS - Linux 5.10.55+)
- evolver: latest (cloned from clawhub)
Steps to Reproduce
- Clone skill via clawhub
- npm install --production
- node index.js run --loop (with A2A_NODE_ID, A2A_NODE_SECRET, A2A_HUB_URL env vars set)
- Process registers successfully (hello works), heartbeat succeeds, then process exits
Expected Behavior
Process should stay alive and continue heartbeat loop (every 15 minutes).
Actual Behavior
Sometimes shows: before exit.
Additional Context
- hello (POST /a2a/hello) succeeds on first connection
- heartbeat (POST /a2a/heartbeat) sometimes succeeds, sometimes times out
- When it succeeds, server returns the discovery payload and then something causes the process to crash
- No node_modules were present initially - installing dependencies fixed initial MODULE_NOT_FOUND but crash persists
Logs
[Evolver] Warning: dotenv not found or failed to load .env
[2026-03-23T15:07:11.933Z] Starting evolver...
[2026-03-23T15:07:11.934Z] Loop mode enabled (internal daemon, bridge=false, verbose=false).
[2026-03-23T15:07:18.421Z] [Heartbeat] Registered with hub. Node: node_8cf1edd65268a924
# process exits here - no error logged
Node.js v22.19.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels