title: gyp ERR, Npm is unable to get local issuer certificate
body: <p>I am working on clean Windows 10 installation. Only thing is cygwin that I installed to get unix commands in the cmd.</p>
  
  <p>When I type <code>npm install -g @angular/cli</code> it downloads the necessary files but I receive an error:</p>
  
  <pre><code>gyp ERR! configure error
  gyp ERR! stack Error: unable to get local issuer certificate
  gyp ERR! stack     at Error (native)
  gyp ERR! stack     at TLSSocket.&lt;anonymous&gt; (_tls_wrap.js:1092:38)
  gyp ERR! stack     at emitNone (events.js:86:13)
  gyp ERR! stack     at TLSSocket.emit (events.js:185:7)
  gyp ERR! stack     at TLSSocket._finishInit (_tls_wrap.js:610:8)
  gyp ERR! stack     at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:440:38)
  gyp ERR! System Windows_NT 10.0.15063
  gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\@angular\\cli\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
  gyp ERR! cwd C:\Users\user\AppData\Roaming\npm\node_modules\@angular\cli\node_modules\node-sass
  gyp ERR! node -v v6.11.2
  gyp ERR! node-gyp -v v3.6.2
  gyp ERR! not ok
  Build failed with error code: 1
  </code></pre>
  
  <p>I edited npm config file like 'npm config edit'. In the opened file I added the following settings:</p>
  
  <pre><code>strict-ssl=false
  http_proxy=null
  proxy=null
  </code></pre>
  
  <p>But this does not work and I still receive the same error. What more, <code>npm install</code> also breaks with the same result.</p>