React-native: невозможно получить сертификат местного эмитента - PullRequest
2 голосов
/ 29 мая 2020
request to https://registry.npmjs.org/expo-template-blank failed, reason: unable to get local issuer certificate
FetchError: request to https://registry.npmjs.org/expo-template-blank failed, reason: unable to get local issuer certificate
at ClientRequest. (C:\Users<username>\AppData\Roaming\npm\node_modules\expo-cli\node_modules\minipass-fetch\lib\index.js:97:14)
at ClientRequest.emit (events.js:210:5)
at TLSSocket.socketErrorListener (_http_client.js:406:9)
at TLSSocket.emit (events.js:215:7)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:80:21)

у кого-нибудь есть идеи?

устал следующие шаги:

  1. npm config set registry http://registry.npmjs.org/
  2. npm config set strict-ssl false
  3. NODE_TLS_REJECT_UNAUTHORIZED = 0
...