Skip to content

fix: pin node-pty to 1.0.0 to avoid spawn-helper permission bug - #31

Merged
dwmkerr merged 1 commit into
mainfrom
fix/node-pty-spawn-helper-permissions
Jan 4, 2026
Merged

dwmkerr merged 1 commit into
mainfrom
fix/node-pty-spawn-helper-permissions

Conversation

@dwmkerr

@dwmkerr dwmkerr commented Jan 4, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pin node-pty to exact version 1.0.0 to avoid spawn-helper permission bug in 1.1.0

node-pty 1.1.0 ships macOS prebuilt binaries with spawn-helper missing the execute bit, causing posix_spawnp failed errors when installed via npx.

Upstream issue: microsoft/node-pty#850

Fixes #29 (partially - keeping open to track upgrade to 1.2.x)

node-pty 1.1.0 ships prebuilt binaries with spawn-helper missing the
execute bit (644 instead of 755), causing "posix_spawnp failed" errors
when installed via npx.

Pinning to 1.0.0 forces compilation from source, which works reliably.

Upstream issue: microsoft/node-pty#850

Can upgrade to 1.2.x when node-pty releases a fix.
@guardrails

guardrails Bot commented Jan 4, 2026

Copy link
Copy Markdown

⚠️ We detected 3 security issues in this pull request:

Vulnerable Libraries (3)
Severity Details
Low pkg:npm/[email protected] (t) upgrade to: > 8.50.0
Low pkg:npm/@typescript-eslint/[email protected] (t) upgrade to: > 8.50.0
Low pkg:npm/@typescript-eslint/[email protected] (t) upgrade to: > 8.50.0

More info on how to fix Vulnerable Libraries in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

@dwmkerr
dwmkerr merged commit 565f8e7 into main Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: add prebuilt binaries for node-pty to fix npx installation

1 participant