4

I am trying to run Expo react-native project from here

npm install expo -g
expo init AwesomeProject
npm start

But on running npm start i am getting this error

npm ERR! code SELF_SIGNED_CERT_IN_CHAIN
npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN
npm ERR! request to https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz failed, reason: self signed certificate in certificate chain

i tried the following commands as stated here

npm config set registry http://registry.npmjs.org/

But it didnt help. I dont want to disable strict SSL. As stated.Can someone suggest?

manish kumar
  • 4,412
  • 4
  • 34
  • 51
  • No actually. You realised my pain. So cool to see people taking efforts to share google search query. – manish kumar Jan 29 '20 at 06:30
  • Does this answer your question? [nodejs "npm ERR! code SELF\_SIGNED\_CERT\_IN\_CHAIN"](https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain) – Prakash Karena Jan 29 '20 at 06:30
  • I have mentioned that link in the post. and no – manish kumar Jan 29 '20 at 06:33
  • 1
    I guess it has something to do with the expo repo on github. ill raise a issue on the github in sometime. – manish kumar Jan 29 '20 at 06:33
  • With 2400 answers, it was a reasonable idea that perhaps there was something out there. Just trying to help... – mplungjan Jan 29 '20 at 06:33
  • I am not the other type of user which you are trying to project here. But lets focus on the solution . can we? – manish kumar Jan 29 '20 at 06:34
  • Seems you are not the only one not getting answers either https://stackoverflow.com/questions/52695693/expo-cannot-update-npm-packages-due-to-self-signed-cert-in-chain – mplungjan Jan 29 '20 at 06:35
  • This seems more promising, [From the expo forum](https://forums.expo.io/t/self-signed-certificate-in-certificate-chain/2463) – mplungjan Jan 29 '20 at 06:36

0 Answers0