title: npm request failed, reason: self signed certificate in certificate chain
body: <p>I am trying to run Expo react-native project from <a href="https://facebook.github.io/react-native/docs/getting-started" rel="nofollow noreferrer">here</a></p>
  
  <pre><code>npm install expo -g
  expo init AwesomeProject
  npm start
  </code></pre>
  
  <p>But on running npm start i am getting this error</p>
  
  <blockquote>
    <p>npm ERR! code SELF_SIGNED_CERT_IN_CHAIN<br>
    npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN<br>
    npm ERR! request to <a href="https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz" rel="nofollow noreferrer">https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz</a> failed, reason: self signed certificate in certificate chain</p>
  </blockquote>
  
  <p>i tried the following commands as stated <a href="https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain">here</a></p>
  
  <pre><code>npm config set registry http://registry.npmjs.org/
  </code></pre>
  
  <p>But it didnt help. I dont want to disable strict SSL. As stated.Can someone suggest?</p>