expo init fails, self signed ceriticate in certificate chain

#1

Hello, I cannot get started with expo. Sdk cannot be gotten due to above reason. Put too much time in this. Any hints are appreciated.

E:\rn>expo init proj1
? Choose a template: expo-template-blank
[11:02:01] Extracting project files...
[11:02:02] Customizing project...
[11:02:03] Installing dependencies...
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-31.0.0.tar.
gz failed, reason: self signed certificate in certificate chain

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Admin\AppData\Roaming\npm-cache\_logs\2018-12-28T09_02_07_
030Z-debug.log
[11:02:07] Process exited with non-zero code: 1
[11:02:07] Set EXPO_DEBUG=true in your env to view the stack trace.
#2

Hey @ndquattro,

This SO post may prove helpful for you: https://stackoverflow.com/questions/29141153/nodejs-npm-err-code-self-signed-cert-in-chain

Cheers,

Adam

1 Like
#3

It helped. Thank you.

closed #4

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.