This repository has been archived by the owner on Sep 11, 2021. It is now read-only.
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.
Open
Description
I have been running into a common issue with installing windows-build-tools
as part of a CI pipeline in which the installer would just hang or fail. See #252 #179 #152 etc
A common workaround is to use npm install --global --production windows-build-tools@4.0.0
which worked perfectly up until around mid April. It looks like the installer just fails to download the information it needs. Some things I picked out of the log:
Error 0x80070002: Failed attempt to download URL: 'http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=1F0C5812581EFDCA1A2A9C3BCE802F53D7832D6E' to: 'C:\Users\VSSADM~1\AppData\Local\Temp\{a9528995-e130-4501-ae19-bbfaddb779cc}\Msi_BuildTools_MSBuild_amd64'
Error 0x80190194: Failed attempt to download URL: 'bits://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=1F0C5812581EFDCA1A2A9C3BCE802F53D7832D6E' to: 'C:\Users\VSSADM~1\AppData\Local\Temp\{a9528995-e130-4501-ae19-bbfaddb779cc}\Msi_BuildTools_MSBuild_amd64'
Prompt for source of package: Msi_BuildTools_MSBuild_amd64, payload: Msi_BuildTools_MSBuild_amd64, path: C:\Users\VssAdministrator\.windows-build-tools\packages\BuildTools_MSBuild_amd64\BuildTools_MSBuild.msi
Next Source: Web, Attempted: 3, Limit:3
Source retrieved: Web
Sleep for 3 seconds before retrying
Error 0x80070002: Failed to send request to URL: http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=1F0C5812581EFDCA1A2A9C3BCE802F53D7832D6E
Error 0x80070002: Failed to connect to URL: http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=1F0C5812581EFDCA1A2A9C3BCE802F53D7832D6E
Error 0x80070002: Failed to get size and time for URL: http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=1F0C5812581EFDCA1A2A9C3BCE802F53D7832D6E
Error 0x80070002: Failed attempt to download URL: 'http://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25420.01&sar=S80_RCPrep&o1=1F0C5812581EFDCA1A2A9C3BCE802F53D7832D6E' to: 'C:\Users\VSSADM~1\AppData\Local\Temp\{a9528995-e130-4501-ae19-bbfaddb779cc}\Msi_BuildTools_MSBuild_amd64'
MUX: Acquire Failed. Retry acquiring after sleeping for 3 seconds, Retry Count: 1 of 3
Could not install Visual Studio Build Tools.
Does anyone know what could be causing this?
Metadata
Assignees
Labels
No labels