Title: build,win: improve logs when ClangCL is missing by MikeMcC399 · Pull Request #61438 · nodejs/node · GitHub
Open Graph Title: build,win: improve logs when ClangCL is missing by MikeMcC399 · Pull Request #61438 · nodejs/node
X Title: build,win: improve logs when ClangCL is missing by MikeMcC399 · Pull Request #61438 · nodejs/node
Description: Fixes: #61437 Situation If Visual Studio is installed without ClangCL on Node.js >= 24, the logs from executing .\vcbuild on Windows could be misinterpreted as suggesting that Visual Studio was missing, not ClangCL. Change Make minor text changes in vcbuild.bat to ease troubleshooting when ClangCL has not been installed according to BUILDING.md instructions. Example logs after change applied Visual Studio missing .\vcbuild Looking for Python Python found in C:\Users\mikem\AppData\Local\Microsoft\WindowsApps\\python.exe Python 3.14.2 Looking for NASM ClangCL is required because the Node.js version being compiled is >= 24. Looking for Visual Studio 2026 Looking for Visual Studio 2022 Failed to find a suitable Visual Studio installation with Clang compiler/LLVM toolset. Try to run in a "Developer Command Prompt" or consult https://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows Visual Studio 2026 Build Tools installed incompletely https://aka.ms/vs/stable/vs_BuildTools.exe installed 18.2.0 The failure logs are the same whether only "Desktop development with C++" is missing or ClangCL is missing, or both are missing: .\vcbuild Looking for Python Python found in C:\Users\mikem\AppData\Local\Microsoft\WindowsApps\\python.exe Python 3.14.2 Looking for NASM ClangCL is required because the Node.js version being compiled is >= 24. Looking for Visual Studio 2026 Looking for Visual Studio 2022 Failed to find a suitable Visual Studio installation with Clang compiler/LLVM toolset. Try to run in a "Developer Command Prompt" or consult https://github.com/nodejs/node/blob/HEAD/BUILDING.md#windows Prerequisites installed Logs with all prerequisites installed and no errors reported concerning missing components: .\vcbuild Looking for Python Python found in C:\Users\mikem\AppData\Local\Microsoft\WindowsApps\\python.exe Python 3.14.2 Looking for NASM ClangCL is required because the Node.js version being compiled is >= 24. Looking for Visual Studio 2026 calling: "C:\Program Files (x86)\Microsoft Visual Studio\18\BuildTools\VC\\Auxiliary\Build\vcvarsall.bat" amd64 ********************************************************************** ** Visual Studio 2026 Developer Command Prompt v18.2.0 ** Copyright (c) 2025 Microsoft Corporation ********************************************************************** [DEBUG:ext\vcvars.bat] Found potential v145 version file: 'Microsoft.VCToolsVersion.VC.14.50.18.0.txt' [DEBUG:ext\vcvars.bat] Testing v145 version file: 'Microsoft.VCToolsVersion.VC.14.50.18.0.txt' [vcvarsall.bat] Environment initialized for: 'x64' Found MSVS version 18.0 Found Clang version 20.1.8 configure --dest-cpu=x64 --clang-cl=20.1.8 [WARNING] A shebang '/bin/sh' was found but does not match any supported template (e.g. '/usr/bin/python'), so it will be treated as an arbitrary command. [WARNING] To prevent execution of programs that are not Python runtimes, set 'shebang_can_run_anything' to 'false' in your configuration file. Node.js configure: Found Python 3.14.2...
Open Graph Description: Fixes: #61437 Situation If Visual Studio is installed without ClangCL on Node.js >= 24, the logs from executing .\vcbuild on Windows could be misinterpreted as suggesting that Visual Studio was ...
X Description: Fixes: #61437 Situation If Visual Studio is installed without ClangCL on Node.js >= 24, the logs from executing .\vcbuild on Windows could be misinterpreted as suggesting that Visual Studio ...
Opengraph URL: https://github.com/nodejs/node/pull/61438
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:42aa883b-f3ab-de72-9e30-b1a918ba76d3 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D302:231C2E:166BD24:202947D:6A4CCE05 |
| html-safe-nonce | 037ac92ad5b372cb48f03dc50f70c634b602b6cefd0effb0191fa1146796609e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzAyOjIzMUMyRToxNjZCRDI0OjIwMjk0N0Q6NkE0Q0NFMDUiLCJ2aXNpdG9yX2lkIjoiMjM5MjIzOTQwOTY1MjA3MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f17b9acfd6d7d79e194f40d6cff859d65f960c34be6af4d6e10b10e3734623a0 |
| hovercard-subject-tag | pull_request:3187379707 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/nodejs/node/pull/61438/files |
| twitter:image | https://avatars.githubusercontent.com/u/66998419?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/66998419?s=400&v=4 |
| og:image:alt | Fixes: #61437 Situation If Visual Studio is installed without ClangCL on Node.js >= 24, the logs from executing .\vcbuild on Windows could be misinterpreted as suggesting that Visual Studio was ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | ee8a9d18044a05fe2d57b9ae797da38c8be34effb03f015f7c42e94770d28a1b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f84814acc6f036583fd43463f5847a846243d2a4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width