Skip to content

fix(build): support Visual Studio 2026 on Windows - #369

Merged
DerekStride merged 1 commit into
mainfrom
fix/windows-node-gyp-vs2026
Sep 10, 2026
Merged

DerekStride merged 1 commit into
mainfrom
fix/windows-node-gyp-vs2026

Conversation

@DerekStride

Copy link
Copy Markdown
Owner

What

Require node-gyp ^12.1.0 and update the lockfile to resolve 12.4.0, which supports Visual Studio 2026. Keep the windows-2025 runner and all existing tests enabled.

Why

The Windows runner image now ships Visual Studio 2026 (18.x), but the locked node-gyp@10.0.1 rejects it as an unknown version. This causes npm install to fail while building the tree-sitter dependency, before the Node binding tests run. Updating the build dependency fixes compiler discovery rather than downgrading the runner or skipping coverage.

The lockfile removes obsolete transitive dependencies from the old node-gyp dependency graph; unrelated dependency versions are unchanged.

References

The windows-2025 runner now ships Visual Studio 2026, which node-gyp
10.0.1 cannot detect. Require node-gyp 12.1 or newer and resolve 12.4.0
in the lockfile, preserving the Windows runner and all existing tests.

Co-authored-by: Omp <noreply@omp.sh>
Co-authored-by: GPT-6 Astra <noreply@openai.com>
@DerekStride
DerekStride merged commit b7057b7 into main Sep 10, 2026
4 checks passed
@DerekStride
DerekStride deleted the fix/windows-node-gyp-vs2026 branch September 10, 2026 13:05
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.

2 participants