Title: Building on Windows: misleading messages when ClangCL is missing · Issue #61437 · nodejs/node · GitHub
Open Graph Title: Building on Windows: misleading messages when ClangCL is missing · Issue #61437 · nodejs/node
X Title: Building on Windows: misleading messages when ClangCL is missing · Issue #61437 · nodejs/node
Description: Situation Starting with Node.js 24, ClangCL is required to compile on Windows. (see BUILDING.md). When executing .\vcbuild on Windows in v24.x and higher branches, if Visual Studio is installed without ClangCL, then the logs can be misin...
Open Graph Description: Situation Starting with Node.js 24, ClangCL is required to compile on Windows. (see BUILDING.md). When executing .\vcbuild on Windows in v24.x and higher branches, if Visual Studio is installed wit...
X Description: Situation Starting with Node.js 24, ClangCL is required to compile on Windows. (see BUILDING.md). When executing .\vcbuild on Windows in v24.x and higher branches, if Visual Studio is installed wit...
Opengraph URL: https://github.com/nodejs/node/issues/61437
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Building on Windows: misleading messages when ClangCL is missing","articleBody":"## Situation\n\nStarting with Node.js 24, ClangCL is required to compile on Windows. (see [BUILDING.md](https://github.com/nodejs/node/blob/main/BUILDING.md#option-1-manual-install)).\n\nWhen executing `.\\vcbuild` on Windows in v24.x and higher branches, if Visual Studio is installed without ClangCL, then the logs can be misinterpreted:\n\n```text\nUsing ClangCL because the Node.js version being compiled is \u003e= 24.\nLooking for Visual Studio 2026\nLooking for Visual Studio 2022\nFailed to find a suitable Visual Studio installation or Clang compiler/LLVM toolset.\n```\n\n\"Using ClangCL\" sounds as though ClangGL has been found and then combined with the other lines it sounds like Visual Studio wasn't found. In fact Visual Studio **was** found and it is just ClangCL that is missing.\n\n## Steps to reproduce\n\n- Remove any existing Visual Studio installations. Install Visual Studio Build Tools 2026 (v18)\nhttps://aka.ms/vs/stable/vs_buildtools.exe with workload \"Desktop development with C++\"\n\n- Install other prerequisites for Windows as described in [BUILDING.md](https://github.com/nodejs/node/blob/main/BUILDING.md#option-1-manual-install)\n\nIn PowerShell on Windows 11 25H2:\n\n```shell\ngit clone https://github.com/nodejs/node.git\ncd node\ngit checkout main # if already cloned\n.\\vcbuild\n```\n\n## Logs\n\n```text\n.\\vcbuild\nLooking for Python\nPython found in C:\\Users\\mikem\\AppData\\Local\\Microsoft\\WindowsApps\\\\python.exe\nPython 3.14.2\nLooking for NASM\nUsing ClangCL because the Node.js version being compiled is \u003e= 24.\nLooking for Visual Studio 2026\nLooking for Visual Studio 2022\nFailed to find a suitable Visual Studio installation or Clang compiler/LLVM toolset.\nTry to run in a \"Developer Command Prompt\" or consult\nhttps://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows\n```\n\n## Suggestion\n\nIn [vcbuild.bat](https://github.com/nodejs/node/blob/main/vcbuild.bat):\n\n1. Change the text from \"Using ClangCL ...\" to \"ClangCL is required because the Node.js version being compiled is \u003e= 24.\" or similar.\n\nhttps://github.com/nodejs/node/blob/57a71cd50dc78657367eb822ec2a3bfe1c0ef54a/vcbuild.bat#L249\n\n2. Change \"Failed to find a suitable Visual Studio installation or Clang compiler/LLVM toolset.\" to\n\"Failed to find a suitable Visual Studio installation with Clang compiler/LLVM toolset.\". In other words, change \"or\" to \"with\".\n\nhttps://github.com/nodejs/node/blob/57a71cd50dc78657367eb822ec2a3bfe1c0ef54a/vcbuild.bat#L327\n","author":{"url":"https://github.com/MikeMcC399","@type":"Person","name":"MikeMcC399"},"datePublished":"2026-01-19T11:12:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/61437/node/issues/61437"}
| 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:40c8de19-d5a0-7ace-afb8-279b22dedb53 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96C6:1FC1EA:3BBE35:4F4299:6A4C3012 |
| html-safe-nonce | 910b2f965692ca043b2dc6b6ba4bd96b5f07deb5bb1220138149daaf9206aed6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkM2OjFGQzFFQTozQkJFMzU6NEY0Mjk5OjZBNEMzMDEyIiwidmlzaXRvcl9pZCI6Ijc5MTM5MzA5NjUwMDg1MjczNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 00b4cdbf026a99c4f082d27b4aca46c98dfebac316278962a4c42e5e9f5bd60b |
| hovercard-subject-tag | issue:3829216501 |
| 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/61437/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ac19f8c8218faef8eca060966af203c9975156f2756423d28ab842e4b0ce7c0a/nodejs/node/issues/61437 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ac19f8c8218faef8eca060966af203c9975156f2756423d28ab842e4b0ce7c0a/nodejs/node/issues/61437 |
| og:image:alt | Situation Starting with Node.js 24, ClangCL is required to compile on Windows. (see BUILDING.md). When executing .\vcbuild on Windows in v24.x and higher branches, if Visual Studio is installed wit... |
| 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 | 1b6b16d04026f131a36d57e3b01d0f4d26a51800edf48bf5ed0256e0ac905511 |
| 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 | 9ee13484b32cf23e15fde191da4c9aa47d41201c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width