Title: Boxstarter-based automated install fails with VS2022 workload · Issue #61690 · nodejs/node · GitHub
Open Graph Title: Boxstarter-based automated install fails with VS2022 workload · Issue #61690 · nodejs/node
X Title: Boxstarter-based automated install fails with VS2022 workload · Issue #61690 · nodejs/node
Description: Version main branch (and lower branches down to v20.x) Platform Microsoft Windows NT 10.0.26200.0 x64 (Windows 11 25H2) Subsystem build What steps will reproduce the bug? On Windows 11 25H2 Test setup Follow the instructions in https://d...
Open Graph Description: Version main branch (and lower branches down to v20.x) Platform Microsoft Windows NT 10.0.26200.0 x64 (Windows 11 25H2) Subsystem build What steps will reproduce the bug? On Windows 11 25H2 Test se...
X Description: Version main branch (and lower branches down to v20.x) Platform Microsoft Windows NT 10.0.26200.0 x64 (Windows 11 25H2) Subsystem build What steps will reproduce the bug? On Windows 11 25H2 Test se...
Opengraph URL: https://github.com/nodejs/node/issues/61690
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Boxstarter-based automated install fails with VS2022 workload","articleBody":"### Version\n\n`main` branch (and lower branches down to v20.x)\n\n### Platform\n\n```text\nMicrosoft Windows NT 10.0.26200.0 x64 (Windows 11 25H2)\n```\n\n### Subsystem\n\nbuild\n\n### What steps will reproduce the bug?\n\nOn Windows 11 25H2\n\n#### Test setup\n\nFollow the instructions in https://docs.chocolatey.org/en-us/choco/uninstallation/ to uninstall any Chocolatey installation. Similarly, uninstall any Boxstarter installation in `C:\\ProgramData\\Boxstarter` and associated environment variables.\n\nFrom Windows Settings \u003e Apps \u003e Installed Apps delete any of:\n\n- Git\n- Microsoft Visual Studio Installer\n- Python \u0026 Python Installer\n\nDelete:\n\n- `C:\\Python314`\n- `C:\\Program Files\\NASM`\n\nRestart system\n\n#### Test\n\nOpen a Windows PowerShell (5.1) terminal window and execute the following commands taken from https://github.com/nodejs/node/blob/main/BUILDING.md#option-3-automated-install-with-boxstarter\n\n```powershell\nSet-ExecutionPolicy Unrestricted -Force\niex ((New-Object System.Net.WebClient).DownloadString('https://boxstarter.org/bootstrapper.ps1'))\nget-boxstarter -Force\nInstall-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/HEAD/tools/bootstrap/windows_boxstarter -DisableReboots\nrefreshenv\n\n```\n\n\n### How often does it reproduce? Is there a required condition?\n\nHard error, always reproducible.\n\n### What is the expected behavior? Why is that the expected behavior?\n\nIt is expected that running the script as documented in [BUILDING \u003e Option 3: Automated install with Boxstarter](https://github.com/nodejs/node/blob/main/BUILDING.md#option-3-automated-install-with-boxstarter) will install:\n\n* [Git for Windows](https://chocolatey.org/packages/git) with the `git` and\n Unix tools added to the `PATH`\n* [Python 3.x](https://chocolatey.org/packages/python)\n* [Visual Studio 2022 Build Tools](https://chocolatey.org/packages/visualstudio2022buildtools)\n with [Visual C++ workload](https://chocolatey.org/packages/visualstudio2022-workload-vctools)\n* [NetWide Assembler](https://chocolatey.org/packages/nasm)\n\n### What do you see instead?\n\nIn logs:\n\n\u003e Unhandled Exception: System.ArgumentException: --add\n\nOpening Visual Studio Installer shows:\n\n* Visual Studio Build Tools 2022 17.14.25 installed\n* NO \"Desktop development with C++\" nor components that should have been installed:\n * `Microsoft.VisualStudio.Component.VC.Tools.ARM64`\n * `Microsoft.VisualStudio.Component.VC.ATL.ARM64`\n * `Microsoft.NetCore.Component.SDK`\n * `Microsoft.VisualStudio.Component.VC.Llvm.Clang`\n * `Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset`\n\nLogs show:\n\n```text\nVERBOSE: Using a local installer executable: C:\\Program Files (x86)\\Microsoft Visual Studio\\Installer\\vs_installer.exe\nInstalling visualstudio2022-workload-vctools...\n\n\nUnhandled Exception: System.ArgumentException: --add\nParameter name: --add\n at Microsoft.VisualStudio.Setup.Installer.CommandLine.CommandLineParser.HandleMultiInstanceOption(String option, IEnumerable`1 args)\n at Microsoft.VisualStudio.Setup.Installer.CommandLine.CommandLineParser.MergeMultiInstanceOption(IEnumerable`1 args)\n at Microsoft.VisualStudio.Setup.Installer.CommandLine.CommandLineParser.PreProcessArgs(IEnumerable`1 args, Boolean\u0026 finalizeInstall, Boolean\u0026 uninstallSelf)\n at Microsoft.VisualStudio.Setup.Installer.CommandLine.CommandLineParser.Parse(IEnumerable`1 args)\n at Microsoft.VisualStudio.Setup.Installer.Program.CreateParserResult(IServiceContainer services, String[] args)\n at Microsoft.VisualStudio.Setup.Installer.Program.Main(String[] args)\n[1a20:0001][2026-02-05T15:56:16] Releasing singleton lock.\n```\n\nThe following are installed as shown by `choco list`:\n\n```text\nChocolatey v2.6.0\nBoxstarter 3.0.3\nBoxstarter.Bootstrapper 3.0.3\nBoxstarter.Chocolatey 3.0.3\nBoxstarter.Common 3.0.3\nBoxstarter.HyperV 3.0.3\nBoxstarter.WinConfig 3.0.3\nchocolatey 2.6.0\nchocolatey-compatibility.extension 1.0.0\nchocolatey-core.extension 1.4.0\nchocolatey-dotnetfx.extension 1.0.1\nchocolatey-visualstudio.extension 1.13.0\nchocolatey-windowsupdate.extension 1.0.5\ndotnetfx 4.8.0.20220524\ngit 2.53.0\ngit.install 2.53.0\nKB2919355 1.0.20160915\nKB2919442 1.0.20160915\nKB2999226 1.0.20181019\nKB3033929 1.0.5\nKB3035131 1.0.3\nnasm 3.1.0\npython3 3.14.3\npython314 3.14.3\ntmp582D.tmp 1.0.0\nvcredist140 14.50.35719\nvcredist2015 14.0.24215.20170201\nvisualstudio2022buildtools 117.14.24\nvisualstudio-installer 2.0.7\n28 packages installed.\n```\n\n[Boxstarter install failure.log](https://github.com/user-attachments/files/25099608/Boxstarter.install.failure.log)\n\n### Additional information\n\nThe last release of [chocolatey/boxstarter](https://github.com/chocolatey/boxstarter/releases) was 3.0.3 in Oct 6, 2023. It is bundled with `choco@1.1.0`, not the current [chocolatey@2.6.0](https://github.com/chocolatey/boxstarter/releases).\n\nIf the following failing command is run directly in `choco` rather than through Boxstarter, it works, so it looks like there is a compatibility issue with Boxstarter:\n\n```powershell\nchoco install visualstudio2022-workload-vctools -y --params=\"--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 --add Microsoft.NetCore.Component.SDK --add Microsoft.VisualStudio.Component.VC.Llvm.Clang --add Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset\"\n```\n\nAlso Boxstarter is only compatible with the legacy Windows PowerShell 5, not with PowerShell 7 (see issue https://github.com/chocolatey/boxstarter/issues/353 from Oct 2018).","author":{"url":"https://github.com/MikeMcC399","@type":"Person","name":"MikeMcC399"},"datePublished":"2026-02-05T15:10:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/61690/node/issues/61690"}
| 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:a8848a1e-2279-df51-98a8-5181629fb803 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CB34:3D1E26:D992E1:11EB957:6A4C4E17 |
| html-safe-nonce | ebd8521ad2b037622950618b0197b94171f2280dc5f99734dbc1fed2a4c49a91 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjM0OjNEMUUyNjpEOTkyRTE6MTFFQjk1Nzo2QTRDNEUxNyIsInZpc2l0b3JfaWQiOiIxOTQyMjAzMjAxMDg1MDAxMjM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f3a3a91578827bf053ead742ae72e408ad5b64fd4f8a3057ee9534924559409c |
| hovercard-subject-tag | issue:3902084992 |
| 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/61690/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84096b0aeff61bbf1d8e19a38abd7b37f6f44075c1f2764bf3d737f9a497afb5/nodejs/node/issues/61690 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84096b0aeff61bbf1d8e19a38abd7b37f6f44075c1f2764bf3d737f9a497afb5/nodejs/node/issues/61690 |
| og:image:alt | Version main branch (and lower branches down to v20.x) Platform Microsoft Windows NT 10.0.26200.0 x64 (Windows 11 25H2) Subsystem build What steps will reproduce the bug? On Windows 11 25H2 Test se... |
| 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 | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| 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 | 65d78903193f110d7a9d1f8587c6dc3cb911aae0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width