Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

fails to install visual studio build tools and stays stuck at not installing Python #215

Open
watery opened this issue Apr 29, 2020 · 1 comment · May be fixed by #225
Open

fails to install visual studio build tools and stays stuck at not installing Python #215

watery opened this issue Apr 29, 2020 · 1 comment · May be fixed by #225

Comments

@watery
Copy link

watery commented Apr 29, 2020

I just tried to install:

npm install -g windows-build-tools

from an elevated command prompt, and I'm seeing this:

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 ----------
    at Object.<anonymous> (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:675902)
    at __webpack_require__ (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:128)
    at Object.defineProperty.value (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:283293)
    at __webpack_require__ (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:128)
    at Object.defineProperty.value (C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\main\StubMain.js:4:743)
------------------- Python --------------------
Python 2.7.17 is already installed, not installing again.

And it waits there forever. I tried with an elevated PowerShell too, but the result is the same.

I then tried installing 4.0.0 as suggested in this comment and installation worked fine.

Then I retried installing the latest version:

npm install --global --production windows-build-tools
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

> [email protected] postinstall [...]\.windows-build-tools\AppData\Roaming\npm\node_modules\windows-build-tools
> node ./dist/index.js



Downloading vs_BuildTools.exe
[>                                            ] 0.0% (0 B/s)
Downloaded vs_BuildTools.exe. Saved to [...]\.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 ----------
2020-04-29T15:11:28 : Error : Retrying attempted connection to service 'Installer' - attempt '4'
2020-04-29T15:11:28 : Error : Retrying attempted connection to service 'ProductsProvider' - attempt '4'
2020-04-29T15:11:28 : Error : Non è stato trovato alcun prodotto corrispondente ai parametri seguenti: channelId:  VisualStudio.15.Release productId:  Microsoft.VisualStudio.Product.BuildTools
2020-04-29T15:11:28 : Verbose : Closing installer. Return code: 1.
2020-04-29T15:12:28 : Error : App cleanup rejected with an error: Timed out during application cleanup.
------------------- Python --------------------
Python 2.7.17 is already installed, not installing again.


Could not install Visual Studio Build Tools.
Please find more details in the log files, which can be found at
[...]\.windows-build-tools

Skipping configuration: No configuration for Python or Visual Studio Build Tools required.

All done!

+ [email protected]
added 1 package from 1 contributor and updated 7 packages in 33.412s
@watery
Copy link
Author

watery commented Apr 29, 2020

I just saw the warning about the .NET Framework 4.5.1 on the homepage and I'm on Windows 7 with only v4 installed.

But I needed this package to install the private npm proxy registry Verdaccio, which seems to start, so I'm fine so far.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant