-
Notifications
You must be signed in to change notification settings - Fork 237
installing stucked #245
Comments
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... |
I have the same problem, where I get stuck at the same line. I've tried
And I didn't get any errors. Thanks for the help @karlhorky . Would be nice if I can get an updated if the suggestion worked in your case @CookieJunkie . |
Having the same problem, seemed to install fine with chocolatey (I think) as I'm getting different errors now for canvas/sharp 😅 |
I tried the method using chocolatey, but it didn't work. PS C:\Windows\system32> choco install python visualcpp-build-tools -y
Chocolatey v0.10.15
Installing the following packages:
python;visualcpp-build-tools
By installing you accept licenses for the packages.
python v3.9.4 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
Progress: Downloading visualcpp-build-tools 15.0.26228.20170424... 100%
visualcpp-build-tools v15.0.26228.20170424 [Approved]
visualcpp-build-tools package files install completed. Performing other installation steps.
Downloading visualcpp-build-tools
from 'https://download.microsoft.com/download/5/A/8/5A8B8314-CA70-4225-9AF0-9E957C9771F7/vs_BuildTools.exe'
Progress: 100% - Completed download of C:\Users\logue\AppData\Local\Temp\chocolatey\visualcpp-build-tools\15.0.26228.20170424\vs_BuildTools.exe (1013.11 KB).
Download of vs_BuildTools.exe (1013.11 KB) completed.
Hashes match.
Installing visualcpp-build-tools...
visualcpp-build-tools has been installed.
The install of visualcpp-build-tools was successful.
Software installed as 'EXE', install location is likely default.
Chocolatey installed 1/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Warnings:
- python - python v3.9.4 already installed.
Use --force to reinstall, specify a version to install, or try upgrade.
PS C:\Windows\system32> npm config set msvs_version 2017
PS C:\Windows\system32> npm install --global windows-build-tools
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
[ ] - reify:resolve: timing reifyNode:node_modules/windows-build-tools/node_modules/ajv Completed in 3 When I installed Python with Chocolatey, it was installed in C: \ Python39, so I passed the path as below with npm, but it still freezes at the same way.
|
@logue installing via Chocolatey is an alternative to |
I've just moved my project to C:/Project and trouble gone |
Totally works. Windows 10 20H2 |
The text was updated successfully, but these errors were encountered: