Skip to content

NPM Installation Failure: EPIPE Socket Write Error #3936

Description

@fiicode

Bug Description
Je dois installer react-to-print :

Bash(npm install react-to-print)
⎿ Running…

✳ Deliberating… (3s · ⚒ 359 tokens · esc to interrupt)

╭────────────────────────────────────────────────────────────────────────╮
│ > │
╰────────────────────────────────────────────────────────────────────────╯
? for shortcuts ⧉ In InvoicesPage.css

node:events:485
throw er; // Unhandled 'error' event
^

Error: write EPIPE
at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:87:19)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:170:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -32,
code: 'EPIPE',
syscall: 'write'
}

Node.js v23.11.0

Environment Info

  • Platform: darwin
  • Terminal: windsurf
  • Version: 1.0.55
  • Feedback ID: d9d14432-1a85-4bc9-a585-c71a24674405

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at q5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:727:4693)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:41282\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n    at PF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:39067)\n    at $X (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:37933)\n    at RB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:43902)","timestamp":"2025-07-18T16:23:51.559Z"}]

Activity

  1. github-actions commented on Aug 16, 2025

    @github-actions

    Found 3 possible duplicate issues:

    1. Unhandled EPIPE Error in Node.js Socket Stream #3945
    2. Error: Command failed: security find-generic-password #1470
    3. Unhandled EPIPE Error in Socket Write Operation #3925

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. github-actions commented on Aug 20, 2025

    @github-actions

    This issue has been automatically closed as a duplicate of #3945.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  3. github-actions commented on Aug 28, 2025

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  4. locked as resolved and limited conversation to collaborators on Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions