Open lizeqiangd opened 3 years ago
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...
Same issue here
I am also facing issues while installing after putting the command it stuck at the following moment as shown in the image below
then waiting for a long time I pressed ctr+c and it shows as follow
Please help as there are other bugs pending to solve as it depends on the windows-build-tools installation
@liuliangsir @akshayp660 try out installing Chocolatey and running the command in my comment above: https://github.com/felixrieseberg/windows-build-tools/issues/240?notification_referrer_id=MDE4Ok5vdGlmaWNhdGlvblRocmVhZDE3Mjg2MDQxMTA6MTkzNTY5Ng%3D%3D#issuecomment-824916057
This is an alternative to windows-build-tools
. The current version of windows-build-tools
doesn't work for a lot of people.
it just stuck in [ ] \ reify:resolve: timing reifyNode:node_modules/windows-build-tools/node_modules/ajv Complete and after ctrl+c .it shows
PS D:\Code\wechaty-getting-started> 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 npm ERR! code 3221225786 npm ERR! path C:\Users\Lizeqiangd\AppData\Roaming\npm\node_modules\windows-build-tools npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node ./dist/index.js Downloading vs_BuildTools.exe npm ERR! [> ] 0.0% (0 B/s) npm ERR! Downloaded vs_BuildTools.exe. Saved to C:\Users\Lizeqiangd.windows-build-tools\vs_BuildTools.exe. npm ERR! npm ERR! Starting installation... npm ERR! Launched installers, now waiting for them to finish. npm ERR! This will likely take some time - please be patient! npm ERR! npm ERR! Status from the installers: ---------- Visual Studio Build Tools ----------
how can i fix it?