felixrieseberg / windows-build-tools

:package: Install C++ Build Tools for Windows using npm
MIT License
3.4k stars 237 forks source link

Does not complete installation #150

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

I'm trying to get native packages running since two weeks now.. without success.

System: Win7 x64

I definitely have an internet connection as all my firewalls are down.

```Starting installation... Launched installers, now waiting for them to finish. This will likely take some time - please be patient! Status from the installers: ---------- Visual Studio Build Tools ---------- [name: VS/ABExp/FlightRequest] [properties: {"VS.ABExp.Flight":"vswshowbitrate","VS.ABExp.Result":"False"}] 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: ShowBitrate, defaultValue: false, result: false 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: RecommendSel, defaultValue: false, result: true 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: Surveys, defaultValue: false, result: true 2018-10-03T03:59:01 : Verbose : Resolved RemoteSettingsProviderService.GetActionsAsync(actionPath) actionPath: vs\instal ler\commonerroractions, result: [{"Action":{"Rules":[{"ErrorCode":"0x80072ee7","CommonErrorMessage":"**Error 0x80072ee7& colon; No internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a temporary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select Vi ew Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access th e URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visu al Studio 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/ install/install-vs-inconsistent-quality-network).","Resources":[{"Locale":"en-us","Message":"**Error 0x80072ee7: N o internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a tempor ary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select View Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access the URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visual Studi o 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/install/ install-vs-inconsistent-quality-network)."}]}]},"Precedence":0,"RuleId":"1343144E-3B75-4673-AA34-82674D5F4AB0"},{"Action ":{"Rules":[{"ErrorCode":"-2146233033","CommonErrorMessage":"**Error –2146233033: Package is corrupted**\r\n The Visual Studio installer found a corrupted package. A package usually gets partially saved if the system was interrup ted while downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair.","Resources":[{"Locale":"en-us","Message":"**Error –2146233033: Package is corrupted**\r\nThe Visu al Studio installer found a corrupted package. A package usually gets partially saved if the system was interrupted whil e downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair ."}]}]},"Precedence":0,"RuleId":"17674D21-417D-45EB-B671-58D521DF3D57"},{"Action":{"Rules":[{"ErrorCode":"1303","CommonE ---------- Visual Studio Build Tools ---------- [name: VS/ABExp/FlightRequest] [properties: {"VS.ABExp.Flight":"vswshowbitrate","VS.ABExp.Result":"False"}] 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: ShowBitrate, defaultValue: false, result: false 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: RecommendSel, defaultValue: false, result: true 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: Surveys, defaultValue: false, result: true 2018-10-03T03:59:01 : Verbose : Resolved RemoteSettingsProviderService.GetActionsAsync(actionPath) actionPath: vs\instal ler\commonerroractions, result: [{"Action":{"Rules":[{"ErrorCode":"0x80072ee7","CommonErrorMessage":"**Error 0x80072ee7& colon; No internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a temporary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select Vi ew Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access th e URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visu al Studio 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/ install/install-vs-inconsistent-quality-network).","Resources":[{"Locale":"en-us","Message":"**Error 0x80072ee7: N o internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a tempor ary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select View Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access the URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visual Studi o 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/install/ install-vs-inconsistent-quality-network)."}]}]},"Precedence":0,"RuleId":"1343144E-3B75-4673-AA34-82674D5F4AB0"},{"Action ":{"Rules":[{"ErrorCode":"-2146233033","CommonErrorMessage":"**Error –2146233033: Package is corrupted**\r\n The Visual Studio installer found a corrupted package. A package usually gets partially saved if the system was interrup ted while downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair.","Resources":[{"Locale":"en-us","Message":"**Error –2146233033: Package is corrupted**\r\nThe Visu al Studio installer found a corrupted package. A package usually gets partially saved if the system was interrupted whil e downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair ."}]}]},"Precedence":0,"RuleId":"17674D21-417D-45EB-B671-58D521DF3D57"},{"Action":{"Rules":[{"ErrorCode":"1303","CommonE ---------- Visual Studio Build Tools ---------- [name: VS/ABExp/FlightRequest] [properties: {"VS.ABExp.Flight":"vswshowbitrate","VS.ABExp.Result":"False"}] 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: ShowBitrate, defaultValue: false, result: false 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: RecommendSel, defaultValue: false, result: true 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: Surveys, defaultValue: false, result: true 2018-10-03T03:59:01 : Verbose : Resolved RemoteSettingsProviderService.GetActionsAsync(actionPath) actionPath: vs\instal ler\commonerroractions, result: [{"Action":{"Rules":[{"ErrorCode":"0x80072ee7","CommonErrorMessage":"**Error 0x80072ee7& colon; No internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a temporary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select Vi ew Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access th e URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visu al Studio 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/ install/install-vs-inconsistent-quality-network).","Resources":[{"Locale":"en-us","Message":"**Error 0x80072ee7: N o internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a tempor ary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select View Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access the URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visual Studi o 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/install/ install-vs-inconsistent-quality-network)."}]}]},"Precedence":0,"RuleId":"1343144E-3B75-4673-AA34-82674D5F4AB0"},{"Action ":{"Rules":[{"ErrorCode":"-2146233033","CommonErrorMessage":"**Error –2146233033: Package is corrupted**\r\n The Visual Studio installer found a corrupted package. A package usually gets partially saved if the system was interrup ted while downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair.","Resources":[{"Locale":"en-us","Message":"**Error –2146233033: Package is corrupted**\r\nThe Visu al Studio installer found a corrupted package. A package usually gets partially saved if the system was interrupted whil e downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair ."}]}]},"Precedence":0,"RuleId":"17674D21-417D-45EB-B671-58D521DF3D57"},{"Action":{"Rules":[{"ErrorCode":"1303","CommonE ---------- Visual Studio Build Tools ---------- [name: VS/ABExp/FlightRequest] [properties: {"VS.ABExp.Flight":"vswshowbitrate","VS.ABExp.Result":"False"}] 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: ShowBitrate, defaultValue: false, result: false 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: RecommendSel, defaultValue: false, result: true 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: Surveys, defaultValue: false, result: true 2018-10-03T03:59:01 : Verbose : Resolved RemoteSettingsProviderService.GetActionsAsync(actionPath) actionPath: vs\instal ler\commonerroractions, result: [{"Action":{"Rules":[{"ErrorCode":"0x80072ee7","CommonErrorMessage":"**Error 0x80072ee7& colon; No internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a temporary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select Vi ew Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access th e URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visu al Studio 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/ install/install-vs-inconsistent-quality-network).","Resources":[{"Locale":"en-us","Message":"**Error 0x80072ee7: N o internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a tempor ary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select View Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access the URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visual Studi o 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/install/ install-vs-inconsistent-quality-network)."}]}]},"Precedence":0,"RuleId":"1343144E-3B75-4673-AA34-82674D5F4AB0"},{"Action ":{"Rules":[{"ErrorCode":"-2146233033","CommonErrorMessage":"**Error –2146233033: Package is corrupted**\r\n The Visual Studio installer found a corrupted package. A package usually gets partially saved if the system was interrup ted while downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair.","Resources":[{"Locale":"en-us","Message":"**Error –2146233033: Package is corrupted**\r\nThe Visu al Studio installer found a corrupted package. A package usually gets partially saved if the system was interrupted whil e downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair ."}]}]},"Precedence":0,"RuleId":"17674D21-417D-45EB-B671-58D521DF3D57"},{"Action":{"Rules":[{"ErrorCode":"1303","CommonE ---------- Visual Studio Build Tools ---------- [name: VS/ABExp/FlightRequest] [properties: {"VS.ABExp.Flight":"vswshowbitrate","VS.ABExp.Result":"False"}] 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: ShowBitrate, defaultValue: false, result: false 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: RecommendSel, defaultValue: false, result: true 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: Surveys, defaultValue: false, result: true 2018-10-03T03:59:01 : Verbose : Resolved RemoteSettingsProviderService.GetActionsAsync(actionPath) actionPath: vs\instal ler\commonerroractions, result: [{"Action":{"Rules":[{"ErrorCode":"0x80072ee7","CommonErrorMessage":"**Error 0x80072ee7& colon; No internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a temporary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select Vi ew Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access th e URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visu al Studio 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/ install/install-vs-inconsistent-quality-network).","Resources":[{"Locale":"en-us","Message":"**Error 0x80072ee7: N o internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a tempor ary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select View Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access the URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visual Studi o 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/install/ install-vs-inconsistent-quality-network)."}]}]},"Precedence":0,"RuleId":"1343144E-3B75-4673-AA34-82674D5F4AB0"},{"Action ":{"Rules":[{"ErrorCode":"-2146233033","CommonErrorMessage":"**Error –2146233033: Package is corrupted**\r\n The Visual Studio installer found a corrupted package. A package usually gets partially saved if the system was interrup ted while downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair.","Resources":[{"Locale":"en-us","Message":"**Error –2146233033: Package is corrupted**\r\nThe Visu al Studio installer found a corrupted package. A package usually gets partially saved if the system was interrupted whil e downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair ."}]}]},"Precedence":0,"RuleId":"17674D21-417D-45EB-B671-58D521DF3D57"},{"Action":{"Rules":[{"ErrorCode":"1303","CommonE ---------- Visual Studio Build Tools ---------- 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: ShowBitrate, defaultValue: false, result: false 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: RecommendSel, defaultValue: false, result: true 2018-10-03T03:59:00 : Verbose : Resolved RemoteSettingsProviderService.GetBooleanValue(collectionPath, key, defaultValue ) collectionPath: Installer\Features\, key: Surveys, defaultValue: false, result: true 2018-10-03T03:59:01 : Verbose : Resolved RemoteSettingsProviderService.GetActionsAsync(actionPath) actionPath: vs\instal ler\commonerroractions, result: [{"Action":{"Rules":[{"ErrorCode":"0x80072ee7","CommonErrorMessage":"**Error 0x80072ee7& colon; No internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a temporary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select Vi ew Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access th e URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visu al Studio 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/ install/install-vs-inconsistent-quality-network).","Resources":[{"Locale":"en-us","Message":"**Error 0x80072ee7: N o internet connection**\r\nThere is a problem connecting to our content delivery network servers. This might be a tempor ary server outage, or it could be an issue with your internet connection.\r\n\r\n**Fix**: First, select View Logs and try to go to the URL in the report. If you can, try installing Visual Studio again. If you can not access the URL in the View Logs report, or if you are on an unreliable network, please try our recommended steps to [install Visual Studi o 2017 on low–bandwidth or unreliable network environments](https://docs.microsoft.com/en-us/visualstudio/install/ install-vs-inconsistent-quality-network)."}]}]},"Precedence":0,"RuleId":"1343144E-3B75-4673-AA34-82674D5F4AB0"},{"Action ":{"Rules":[{"ErrorCode":"-2146233033","CommonErrorMessage":"**Error –2146233033: Package is corrupted**\r\n The Visual Studio installer found a corrupted package. A package usually gets partially saved if the system was interrup ted while downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair.","Resources":[{"Locale":"en-us","Message":"**Error –2146233033: Package is corrupted**\r\nThe Visu al Studio installer found a corrupted package. A package usually gets partially saved if the system was interrupted whil e downloading and writing the package to the disk.\r\n\r\n**Fix**: This issue usually resolves by running a repair ."}]}]},"Precedence":0,"RuleId":"17674D21-417D-45EB-B671-58D521DF3D57"},{"Action":{"Rules":[{"ErrorCode":"1303","CommonE rrorMessage":"**Error 1303: Access is denied**\r\nThere is a problem accessing a file or folder. This can happen i ---------- Visual Studio Build Tools ---------- 2018-10-03T03:59:11 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Rel ease, productId: Microsoft.VisualStudio.Product.BuildTools, installationPath: 'C:\Program Files (x86)\Microsoft Visual S tudio\2017\BuildTools', languages: 'en-US' selectedPackageReferences.length: 13] 2018-10-03T03:59:12 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.R elease, productId: Microsoft.VisualStudio.Product.BuildTools, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools', languages: 'en-US' selectedPackageReferences.length: 13] 2018-10-03T03:59:12 : Verbose : Calling SetupEngine.Installer.EvaluateInstallParameters. [channelId: VisualStudio.15.Rel ease, productId: Microsoft.VisualStudio.Product.BuildTools, installationPath: 'C:\Program Files (x86)\Microsoft Visual S tudio\2017\BuildTools', languages: 'en-US' selectedPackageReferences.length: 13] 2018-10-03T03:59:12 : Verbose : SetupEngine.Installer.EvaluateInstallParameters succeeded. [channelId: VisualStudio.15.R elease, productId: Microsoft.VisualStudio.Product.BuildTools, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools', languages: 'en-US' selectedPackageReferences.length: 13] 2018-10-03T03:59:12 : Verbose : Calling SetupEngine.Installer.InstallProduct. [channelId: VisualStudio.15.Release, produ ctId: Microsoft.VisualStudio.Product.BuildTools, installationPath: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\ BuildTools'] ------------------- Python -------------------- Successfully installed Python 2.7 ```
bambi42 commented 6 years ago

I just had almost the exact same problem... Stuck after 'Successfully installed Python 2.7'... After waiting for like 20 minutes searching for an ansewer it actually finished...

ghost commented 6 years ago

I just had almost the exact same problem... Stuck after 'Successfully installed Python 2.7'... After waiting for like 20 minutes searching for an ansewer it actually finished...

seems like it was the same for me... thanks it worked.

89gsc commented 6 years ago

Well this is pretty annoying .... still waiting for mine to finish.

pelicanmedia commented 6 years ago

Getting a similar issue, been sitting on the below for nearly 45 mins...

``` C:\Windows\system32>npm -v 6.4.1 C:\Windows\system32>npm i --global --production windows-build-tools \> windows-build-tools@5.0.0 postinstall C:\Users\Pelican\AppData\Roaming\npm\node_modules\windows-build-tools \> node ./dist/index.js Downloading python-2.7.15.amd64.msi [> ] 0.0% (0 B/s) Downloaded python-2.7.15.amd64.msi. Saved to C:\Users\Pelican\\.windows-build-tools\python-2.7.15.amd64.msi. Downloading vs_BuildTools.exe [> ] 0.0% (0 B/s) Downloaded vs_BuildTools.exe. Saved to C:\Users\Pelican\\.windows-build-tools\vs_BuildTools.exe. Starting installation... Launched installers, now waiting for them to finish. This will likely take some time - please be patient! Status from the installers: ---------- Visual Studio Build Tools ---------- 2018-10-15T10:23:11 : Verbose : Spawning uninstall stub 2018-10-15T10:23:11 : Verbose : [InstallerImpl]: Rpc connection was closed. 2018-10-15T10:23:11 : Verbose : [InstallerImpl]: Stream was closed 2018-10-15T10:23:11 : Verbose : [SetupUpdaterImpl]: Rpc connection was closed. 2018-10-15T10:23:11 : Verbose : [SetupUpdaterImpl]: Stream was closed ------------------- Python -------------------- Successfully installed Python 2.7 ```

Lots of reports of errors regarding installations hanging, anything being done ?

glaucia86 commented 6 years ago

Anybody here already saw how to deal with this issue?

jacobq commented 6 years ago

See also #123

glaucia86 commented 6 years ago

@jacobq this link do not talk about the solution... it would be this one here: https://github.com/felixrieseberg/windows-build-tools/issues/116

jacobq commented 6 years ago

@glaucia86 I just mentioned the other issue because this one may be a duplicate.

refack commented 6 years ago

Hello all,

Latest Node 10 & 11 have a new stage in their installer that installs all prerequisites for native-addon development. Admittedly it's not 100% bug free, but in-the-field testing is the best way to fix that, so your feedback is welcome. Latest 10 - https://nodejs.org/download/release/latest-v10.x/ Latest 11 - https://nodejs.org/download/release/latest-v11.x/ and version 12 nightlies - https://nodejs.org/download/nightly/

jacobq commented 6 years ago

Hi @refack, could you please explain how that is related to this issue? Are you saying that they install the MS build tools automatically, that they no longer require them, or something else? Are you referring to https://github.com/nodejs/node/pull/22645? In that case, I think that doesn't affect nvm-windows users since it requires opting in.

glaucia86 commented 6 years ago

@refack I noticed that I install in my machine Node.js 10 and when I tried to install node-gyp and windows build tools I had some issues.. If you want to I can relate for you here. Should I do make a downgrade of my actual version (Node.js -> 10) to Node.js 8.x?

glaucia86 commented 6 years ago

@jacobq the version 5 of windows build tools are bugged. Yesterday I used the version 4 and installed it perfectly.

refack commented 6 years ago

Hi @refack, could you please explain how that is related to this issue? Are you saying that they install the MS build tools automatically, that they no longer require them, or something else?

I admit it doesn't relate directly to this issue, but IMHO it relates to the end goal of installing Windows build tools.

Are you referring to nodejs/node#22645? In that case, I think that doesn't affect nvm-windows users since it requires opting in.

You are right, ATM it's only available for users who choose to install with the .msi installer. We are considering deploying the boxstarter script via the zip, so other users could benefit from it as well.

Edit: opened https://github.com/nodejs/node/pull/24233

refack commented 6 years ago

@refack I noticed that I install in my machine Node.js 10 and when I tried to install node-gyp and windows build tools I had some issues.. If you want to I can relate for you here.

@glaucia86 I would appreciate if you would open an issue in nodejs/node

shanesmith commented 6 years ago

The updates mentioned by @refack to the Node installer for native-addon pre-requisites ended up getting reverted.

https://github.com/nodejs/node/pull/24344

refack commented 6 years ago

s ended up getting reverted.

nodejs/node#24344

Just for node@10, and just temporarily. Because node is 10 LTS we didn't want the tools in the new releases, until we ironed out the kinks. They are still available in node@11 releases. And now we have a streamlined versioned in the works - https://github.com/nodejs/node/pull/24677