[BUG] Claude Code, Linux, v1.0.51, node.js exception

Resolved 💬 3 comments Opened Jul 18, 2025 by mark-99 Closed Aug 20, 2025
│ │ # Make it executable                                                                                                                                                                                                     │ │
│ │ ssh 100.76.64.123 'chmod +x /tmp/run-cu-spammer-local.sh'                                                                                                                                                                │ │
│ │                                                                                                                                                                                                                          │ │
│ │ # Run it with the provided arguments                                                                                                                                                                                     │ │
│ │ echo "Running CU spammer on localhost..."                                                                                                                                                                                │ │
│ │ ssh 100.76.64.123 "/tmp/run-cu-spammer-local.sh $@"                                                                                                                                                                      │ │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ │
│ Do you want to create cu-spammer-run.sh?                                                                                                                                                                                     │
│ ❯ 1. Yes                                                                                                                                                                                                                     │
│   2. Yes, add /tmp and don't ask again this session (shift+tab)                                                                                                                                                              │
│   3. No, and tell Claude what to do differently (esc)                                                                                                                                                                        │
│                                                                                                                                                                                                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

node:internal/process/promises:394
    triggerUncaughtException(err, true /* fromPromise */);
    ^

HF [McpError]: MCP error -32000: Connection closed
    at ka1._onclose (file:///home/ubuntu/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1336:15216)
    at _transport.onclose (file:///home/ubuntu/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1336:14535)
    at J.C.client.transport.onclose (file:///home/ubuntu/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1969:8122)
    at i9.onCloseHandler (file:///home/ubuntu/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:1348:8454)
    at i9.emit (node:events:518:28)
    at i9.emit (node:domain:489:12)
    at i9.emitClose (file:///home/ubuntu/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:71:69553)
    at Socket.b$A (file:///home/ubuntu/.nvm/versions/node/v22.14.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:71:80025)
    at Socket.emit (node:events:518:28)
    at Socket.emit (node:domain:489:12) {
  code: -32000,
  data: undefined
}

Node.js v22.14.0```

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗