Wednesday, 26 April 2017

How to install the Visual C++ component "VCBuild.exe"?

I tried to install VCBuilder.exe.

$npm install --global --production windows-build-tools

But it doesn't work well.

An Error is like this:

> windows-build-tools@1.2.1 postinstall C:\Users\Josephine\AppData\Roaming\npm\node_modules\windows-build-tools
> node ./lib/index.js

Downloading BuildTools_Full.exe
Error: getaddrinfo ENOTFOUND download.microsoft.com download.microsoft.com:443
{ Error: getaddrinfo ENOTFOUND download.microsoft.com download.microsoft.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:73:26)
  code: 'ENOTFOUND',
  errno: 'ENOTFOUND',
  syscall: 'getaddrinfo',
  hostname: 'download.microsoft.com',
  host: 'download.microsoft.com',
  port: 443 }

I don't understand this error. please, help me.

Thanks.



via C.Petrescu

No comments:

Post a Comment