-
Notifications
You must be signed in to change notification settings - Fork 297
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Milestone
Description
In the VS Code repo, when I bump node-pty, the Alpine build reports the following error
2026-01-13T21:31:14.7685867Z npm error ../src/unix/pty.cc: In function 'void pty_close_inherited_fds()':
2026-01-13T21:31:14.7686207Z npm error ../src/unix/pty.cc:135:40: error: 'CLOSE_RANGE_CLOEXEC' was not declared in this scope
2026-01-13T21:31:14.7686533Z npm error 135 | if (syscall(SYS_close_range, 3, ~0U, CLOSE_RANGE_CLOEXEC) == 0) {
2026-01-13T21:31:14.7686816Z npm error | ^~~~~~~~~~~~~~~~~~~
2026-01-13T21:31:14.7687112Z npm error make: *** [pty.target.mk:115: Release/obj.target/pty/src/unix/pty.o] Error 1
2026-01-13T21:31:14.7687392Z npm error gyp ERR! build error
2026-01-13T21:31:14.7687660Z npm error gyp ERR! stack Error: `make` failed with exit code: 2
Look in pty.cc and see whether we have to use a different constant or implementation for Alpine.
Reactions are currently unavailable
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug