You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Outdated visualstudio2019-workload-vctools in Node.js 22+ Windows install_tools.bat #59031
I'd like to add that the install_tools.bat doesn't work either for the node 22 > 24 change requiring ClangCL
on node 24 node_gyp rebuild is called during install (in a workspace that has latest electron and my own native libs) results in trying to use the Clang platform toolset.
This (apparently) requires an add-on to the *-workload-vctools. But after sinking a day trying to add them, I couldn't get it to work. Neither could I work out how to globally force node-gyp to use a specific platform instead of ClangCL.
So yes - if someone picks this up - I humbly ask the ClangCL platform requirement is added.
Visual Studio >= 2019 with the Windows 10 SDK on a 64-bit host
Visual Studio 2026 Insiders was announced Sep 9, 2025. This can be expected to transition to General Availability at some date in the not too distant future.
I'd like to add that the install_tools.bat doesn't work either for the node 22 > 24 change requiring ClangCL
on node 24 node_gyp rebuild is called during install (in a workspace that has latest electron and my own native libs) results in trying to use the Clang platform toolset.
This (apparently) requires an add-on to the *-workload-vctools. But after sinking a day trying to add them, I couldn't get it to work. Neither could I work out how to globally force node-gyp to use a specific platform instead of ClangCL.
So yes - if someone picks this up - I humbly ask the ClangCL platform requirement is added.
If this is still a problem for you, could you open a new issue? I'm struggling to find a public npm package and a latest Node.js version which fails to build binaries due to missing ClangCL components. I believe it should theoretically still be an issue.
If this is still a problem for you, could you open a new issue? I'm struggling to find a public npm package and a latest Node.js version which fails to build binaries due to missing ClangCL components. I believe it should theoretically still be an issue.
The problem has gone away; I don't know when, but node 24 and 25 are fine now; no mention of clang in the log; just spawning msbuild:
gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/nodeReuse:false',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
Activity
MeirionHughes commentedon Jul 11, 2025
I'd like to add that the install_tools.bat doesn't work either for the node 22 > 24 change requiring ClangCL
on node 24
node_gyp rebuildis called during install (in a workspace that has latest electron and my own native libs) results in trying to use the Clang platform toolset.This (apparently) requires an add-on to the *-workload-vctools. But after sinking a day trying to add them, I couldn't get it to work. Neither could I work out how to globally force node-gyp to use a specific platform instead of ClangCL.
So yes - if someone picks this up - I humbly ask the ClangCL platform requirement is added.
MikeMcC399 commentedon Oct 23, 2025
MikeMcC399 commentedon Oct 24, 2025
Visual Studio 2022 meets the criteria
Visual Studio 2026 Insiders was announced Sep 9, 2025. This can be expected to transition to General Availability at some date in the not too distant future.
win: upgrade Visual Studio workload from 2019 to 2022
win: upgrade Visual Studio workload from 2019 to 2022
win: upgrade Visual Studio workload from 2019 to 2022
win: upgrade Visual Studio workload from 2019 to 2022
MikeMcC399 commentedon Nov 12, 2025
Just since I mentioned it in the previous comment,
Visual Studio 2026 is here: faster, smarter, and a hit with early adopters was announced on Nov 11, 2025.
This is a couple of weeks after #60318 was merged.
MikeMcC399 commentedon Nov 26, 2025
See also #60861 for compatibility with Visual Studio 2026
MikeMcC399 commentedon Jan 21, 2026
@MeirionHughes
If this is still a problem for you, could you open a new issue? I'm struggling to find a public npm package and a latest Node.js version which fails to build binaries due to missing ClangCL components. I believe it should theoretically still be an issue.
MeirionHughes commentedon Feb 7, 2026
The problem has gone away; I don't know when, but node 24 and 25 are fine now; no mention of clang in the log; just spawning msbuild:
win: upgrade Visual Studio workload from 2019 to 2022
win: upgrade Visual Studio workload from 2019 to 2022