Title: Build fails with Visual Studio 2026 · Issue #60869 · nodejs/node · GitHub
Open Graph Title: Build fails with Visual Studio 2026 · Issue #60869 · nodejs/node
X Title: Build fails with Visual Studio 2026 · Issue #60869 · nodejs/node
Description: Version Branches: v20.x, v22.x, v24.x & v25.x See table at the bottom of this post for the current status. Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce the bug? Follow instructions in BUILDING ...
Open Graph Description: Version Branches: v20.x, v22.x, v24.x & v25.x See table at the bottom of this post for the current status. Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce t...
X Description: Version Branches: v20.x, v22.x, v24.x & v25.x See table at the bottom of this post for the current status. Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reprodu...
Opengraph URL: https://github.com/nodejs/node/issues/60869
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build fails with Visual Studio 2026","articleBody":"### Version\n\nBranches:\n\nv20.x, v22.x, v24.x \u0026 v25.x\n\nSee table at the bottom of this post for the current status.\n\n### Platform\n\n```text\nMicrosoft Windows NT 10.0.26200.0 x64\n```\n\n### Subsystem\n\n`build`\n\n### What steps will reproduce the bug?\n\nFollow instructions in [BUILDING \u003e Windows \u003e Manual install](https://github.com/nodejs/node/blob/main/BUILDING.md#option-1-manual-install) to install prerequisites. For Visual Studio, install [Visual Studio Build Tools 2026 18.0.2](https://download.visualstudio.microsoft.com/download/pr/a424e95b-20f6-4af6-844f-9d9a806080a7/c0acc2ada8143bca302248df650bcf4e5208c610d0fcf0d8345ef737d0e6f784/vs_BuildTools.exe) with workload \"Desktop development with C++\" and additional clang-related components.\n\nThe prerequisites include also\n\u003e The current [version of Python](https://devguide.python.org/versions/) from the [Microsoft Store](https://apps.microsoft.com/store/search?publisher=Python+Software+Foundation)\n\ninterpreted as Python [3.14](https://www.python.org/downloads/release/python-3140/) (as latest `stable` release) using the recommended [Python install manager](https://apps.microsoft.com/detail/9nq7512cxl7t) from the Microsoft Store.\n\nIn PowerShell `7.5.4` terminal window with Administrator privileges, execute:\n\n```shell\ngit clone -c core.symlinks=true https://github.com/nodejs/node.git\ncd node\ngit switch v20.x # or any of the other currently supported release lines\n.\\vcbuild\n```\n\n\n### How often does it reproduce? Is there a required condition?\n\nAlways in the release branches, using Visual Studio 2026.\n\nNever in the `main` branch.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nNode.js should build using Visual Studio 2026 in the supported release branches.\n\nIt is expected, since the corresponding `BUILDING.md` document for each release line specifies only a minimum version of Visual Studio using `\u003e=` as follows. This would include the latest version: Visual Studio 2026.\n\n| Node.js branch | Windows Supported toolchain |\n| ----------------------------------------------------------------------------------- | -------------------------------------------------------------- |\n| [v20.x](https://github.com/nodejs/node/blob/v20.x/BUILDING.md#supported-toolchains) | Visual Studio \u003e= 2019 with the Windows 10 SDK on a 64-bit host |\n| [v22.x](https://github.com/nodejs/node/blob/v22.x/BUILDING.md#supported-toolchains) | Visual Studio \u003e= 2022 with the Windows 10 SDK on a 64-bit host |\n| [v24.x](https://github.com/nodejs/node/blob/v24.x/BUILDING.md#supported-toolchains) | Visual Studio \u003e= 2022 with the Windows 10 SDK on a 64-bit host |\n| [v25.x](https://github.com/nodejs/node/blob/v24.x/BUILDING.md#supported-toolchains) | Visual Studio \u003e= 2022 with the Windows 10 SDK on a 64-bit host |\n\n\n### What do you see instead?\n\nFor branch `v20.x`:\n\n```text\n.\\vcbuild\nLooking for Python\nPython found in C:\\Python314\\\\python.exe\nPython 3.14.0\nLooking for NASM\nLooking for Visual Studio 2022\nLooking for Visual Studio 2019\nFailed to find a suitable Visual Studio installation.\nTry to run in a \"Developer Command Prompt\" or consult\nhttps://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows\n```\n\n### Additional information\n\nResults for different branches as follows. Only the `main` branch was initially able to build using Visual Studio 2026.\n\n| Branch | Initial status / test result | Current status |\n| ------ | --------------------------------------------- | ------------------------------ |\n| v20.x | fails: looking for Visual Studio 2022 or 2019 | pending doc #61450 |\n| v22.x | fails: looking for Visual Studio 2022 | pending doc #61451 and release |\n| v24.x | fails: looking for Visual Studio 2022 | resolved |\n| v25.x | fails: looking for Visual Studio 2022 | resolved |\n| main | runs: Looking for Visual Studio 2026 | not an issue |\n\nFollows on from mixed up issue https://github.com/nodejs/node/issues/60861\n\ncc: @targos","author":{"url":"https://github.com/MikeMcC399","@type":"Person","name":"MikeMcC399"},"datePublished":"2025-11-27T08:59:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/60869/node/issues/60869"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d064e94b-4e3c-15a6-b712-f1c55db4e8a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A00:29866E:78C6C3:A99082:6A4BD20C |
| html-safe-nonce | 1a91860e95049240c766f6d8b00c19807f3a770dd730315e52c2dce3cd968543 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTAwOjI5ODY2RTo3OEM2QzM6QTk5MDgyOjZBNEJEMjBDIiwidmlzaXRvcl9pZCI6IjI3NjM1NzE1NjEzNjEwMzU3ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | dddf526403f8fda70a18749278db652e8c664a44ec1c8aec83002e4188caa64b |
| hovercard-subject-tag | issue:3670481585 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/60869/issue_layout |
| twitter:image | https://opengraph.githubassets.com/55c2a057ec901e2450a5302722bce496d3901acfc71591692822415eb0949fdb/nodejs/node/issues/60869 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/55c2a057ec901e2450a5302722bce496d3901acfc71591692822415eb0949fdb/nodejs/node/issues/60869 |
| og:image:alt | Version Branches: v20.x, v22.x, v24.x & v25.x See table at the bottom of this post for the current status. Platform Microsoft Windows NT 10.0.26200.0 x64 Subsystem build What steps will reproduce t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikeMcC399 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9df996be9551ac02247d09a2f7f64ece66c35ca28885d346e98fdfda9cdaa37b |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b71208a1c9ec7ccf364087569d0551f665dda674 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width