You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Request: 1.1.x patch release — latest (1.1.0) still ships spawn-helper without exec bit #919
Summary: PRs #858 and #866 fixed the prebuilds/darwin-{arm64,x64}/spawn-helper exec-bit packaging defect (tracked in #850), but the fix has only shipped in the 1.2.0-beta.* channel. The latest dist-tag on npm is still 1.1.0, which ships the broken tarball. Stable consumers on node-pty@^1.1.0 continue to hit the bug on a fresh install — including in environments that don't run install scripts (pnpm by default).
Reproduction (verified just now against the npm registry):
Ask: Cut a 1.1.1 patch release containing #858 and #866 so stable consumers no longer have to opt into a beta (or maintain a postinstall chmod +x shim, which is a no-op under pnpm's default-secure install policy) for a packaging fix.
Workarounds available today:
Pin to 1.2.0-beta.12 (we're doing this in our repo, dev-only consumer).
Postinstall chmod +x (doesn't help pnpm).
In-test or in-runtime self-heal that chmods the helper after require.resolve().
Happy to test against an RC.
Reacted by Tom Fuertes, Nicholas Gulachek and Cristian Pallarés
chmod +x node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper fixes it immediately (exit=0, output hello), but a fresh npm install puts the file back to 644, so it isn't something a project can carry as a workaround.
A second, unrelated project on this machine — installed 2026-05-26, two months before the run above — also resolved to 1.1.0, and both of its helpers are still 644. So this doesn't appear specific to one install or one npm version.
Activity
Use `node-pty` for `spawn` implementation
Work around microsoft/node-pty#919
Use `node-pty` for `spawn` implementation
Work around microsoft/node-pty#919
stekman08 commentedon Jul 28, 2026
Confirming this on a clean install today, in case another data point helps the case for a patch release.
Both shipped helpers are non-executable, not just the one for the host arch:
Every spawn fails, including one where the command itself can't be the problem:
chmod +x node_modules/node-pty/prebuilds/darwin-arm64/spawn-helperfixes it immediately (exit=0, outputhello), but a freshnpm installputs the file back to 644, so it isn't something a project can carry as a workaround.A second, unrelated project on this machine — installed 2026-05-26, two months before the run above — also resolved to 1.1.0, and both of its helpers are still 644. So this doesn't appear specific to one install or one npm version.
fix(desktop): upgrade node-pty to 1.2.0-beta.14, drop redundant termi…
Fix node-pty spawn on macOS, unbreak build, refresh lockfile (#1)
fix(domain): reject a fractional page limit before it reaches SQLite (#…
chore(release): 1.230.0 [skip ci]
fix(domain): stop scheduled workflows hijacking the RunWorkflowUseCas…
chore(release): 1.230.1 [skip ci]
fix(web): make node-pty's spawn-helper executable so the terminal sta…
chore(build): stop compiling node-pty on Windows