Windows-build-tools: install windows-build-tools stuck

Created on 20 Jun 2021  Â·  3Comments  Â·  Source: felixrieseberg/windows-build-tools

image

stuck there, any idea?

Most helpful comment

Here is an alternative solution that solved my problem, but that requires the Windows package manager chocolatey (https://chocolatey.org) that can be installed very easily. My solution also worked in a Docker Windows Container for CI.

# hint: install chocolatey first!
# could be that visualstudio2019-workload-vctools is enough
choco install -y visualstudio2019buildtools visualstudio2019-workload-vctools
npm config set msvs_version 2019

After that I could build C++ projects with npm.

All 3 comments

I’m having a similar problem, though in my case it says ‘Successfully installed Python 2.7’ and then hangs.

Here is an alternative solution that solved my problem, but that requires the Windows package manager chocolatey (https://chocolatey.org) that can be installed very easily. My solution also worked in a Docker Windows Container for CI.

# hint: install chocolatey first!
# could be that visualstudio2019-workload-vctools is enough
choco install -y visualstudio2019buildtools visualstudio2019-workload-vctools
npm config set msvs_version 2019

After that I could build C++ projects with npm.

Look at #179 for more Solutions

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DieselGaming picture DieselGaming  Â·  5Comments

mohdsameer7408 picture mohdsameer7408  Â·  7Comments

keithnbrown picture keithnbrown  Â·  12Comments

brucejo75 picture brucejo75  Â·  3Comments

Bailfire picture Bailfire  Â·  10Comments