Commit accafa7
Fix Windows CI on Node 20 and 22 by using a current node-gyp
The windows-latest image ships Visual Studio 18. The node-gyp bundled with
npm on Node 20 and 22 does not recognise it and fails configure with
'find VS unknown version "undefined"'; Node 24 already carries a new enough
node-gyp, which is why only those two cells failed.
Install node-gyp@latest on Windows runners and point npm at it. Also document
the same workaround for users, who hit this whenever they pair Node 20 or 22
with Visual Studio 2026.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 0073e1b commit accafa7
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
0 commit comments