Closed mohdsameer7408 closed 3 years ago
Me too (and my team)!
Today I'm trying others old versions of npm/node
I am also stuck at 'Successfully installed Python 2.7"
I managed to find a workaround. There is an issue with the windows-build-tools script finding the log file for the VS build tools installer; it seems maybe the log file created by the VS build tools installer has changed.
The script is looking for a log file with a name starting with dd_client_
in the folder %USERPROFILE%\AppData\Local\Temp
, but the VS build tools installer doesn't seem to be creating any file starting with dd_client_
.
The workaround I used was this:
npm install -g windows-build-tools
%USERPROFILE%\AppData\Local\Temp
and look for a log file with a name like dd_installer_20210421124746.log
Closing the installer with exit code 0
%USERPROFILE%\AppData\Local\Temp
named dd_client_.log
dd_client_.log
, add the string Closing installer. Return code: 3010.
, and save the fileThen the windows-build-tools script should continue.
@jwonderly This workaround got the script to complete. Now I am seeing "All done!" at the end of the script.
Thank you!!
Another option is to try installing the build tools via Chocolatey instead (use an Administrator command line):
choco install python visualstudio2017-workload-vctools -y
npm config set msvs_version 2017
Maybe this should be documented in the readme as an alternative...
Another option is to try installing the build tools via Chocolatey instead (use an Administrator command line):
choco install python visualcpp-build-tools -y npm config set msvs_version 2017
Maybe this should be documented in the readme as an alternative...
This option is a lot less hacky than editing .log's!
Everyone's solution was helpful. Thanks a lot.
I have tried installing this package with node 14 as well as node 10 from two days whenever I try to install windows build tools it always stuck at python installed successfully and doesn't do anything I have even waited for 4-5 hrs even though I have a good internet connection