title: unable to verify the first certificate when running npm install
body: <p>I'm was looking at the Angular2 tutorial on:
  <a href="https://github.com/angular/quickstart/blob/master/README.md" rel="noreferrer">https://github.com/angular/quickstart/blob/master/README.md</a></p>
  <p>However, when I run the npm install as per the guide, i initially got an error related to <code>UNABLE_TO_VERIFY_LEAF_SIGNATURE</code>.
  Which on googling seemed related to SSL cert so I then attempted to just get around this by using the following command:</p>
  <pre><code>npm config set strict-ssl false
  </code></pre>
  <p>I then retried <code>npm install</code></p>
  <p>This got a bit further but then got new errors related to &quot;unable to verify the first certificate&quot;:</p>
  <blockquote>
  <pre><code>typings ERR! message Unable to connect to &quot;https://api.typings.org/entries/dt/core-js/tags/0.0.0%2B20160725163759&quot;
  typings ERR! caused by unable to verify the first certificate
  
  typings ERR! cwd c:\Code\Angular2\Quickstart
  typings ERR! system Windows_NT 6.1.7601
  typings ERR! command &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;c:\\Code\\Angular2\\Quickstart\\node_modules\\typings\\dist\\bin.js&quot; &quot;install&quot;
  typings ERR! node -v v6.7.0
  typings ERR! typings -v 1.4.0
  typings ERR! code EUNAVAILABLE
  
  typings ERR! If you need help, you may report this error at:
  typings ERR!   &lt;https://github.com/typings/typings/issues&gt;
  
  npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
  npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
  npm WARN angular-quickstart@1.0.0 No license field.
  npm ERR! Windows_NT 6.1.7601
  npm ERR! argv &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js&quot; &quot;install&quot;
  npm ERR! node v6.7.0
  npm ERR! npm  v3.10.3
  npm ERR! code ELIFECYCLE
  npm ERR! angular-quickstart@1.0.0 postinstall: `typings install`
  npm ERR! Exit status 1
  npm ERR!
  npm ERR! Failed at the angular-quickstart@1.0.0 postinstall script 'typings install'.
  npm ERR! Make sure you have the latest version of node.js and npm installed.
  npm ERR! If you do, this is most likely a problem with the angular-quickstart package,
  npm ERR! not with npm itself.
  npm ERR! Tell the author that this fails on your system:
  npm ERR!     typings install
  npm ERR! You can get information on how to open an issue for this project with:
  npm ERR!     npm bugs angular-quickstart
  npm ERR! Or if that isn't available, you can get their info via:
  npm ERR!     npm owner ls angular-quickstart
  npm ERR! There is likely additional logging output above.
  
  npm ERR! Please include the following file with any support request:
  npm ERR!     c:\Code\Angular2\Quickstart\npm-debug.log
  </code></pre>
  </blockquote>
  <p>I'm new to NodeJS and Angular2 development. Any ideas ?
  If I have missed out any detail then let me know.</p>