This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm ERR! Error: CERT_UNTRUSTED #20898
Labels
Comments
What is the result of |
I Have This Problem Too. |
@SezarMoein What is the result of npm --versions? |
npm version: 1.3.6 |
@tiepviet Your versions of node and npm are years old and no longer supported. Please update. |
@jcrben I'm waiting for @zhanyong001's reply before closing, but this issue is indeed almost certainly caused by an extremely old |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
zhanyong@zhanyong-ThinkPad-E450:~$ npm install -g yarn react-native-cli
found error
npm ERR! Error: CERT_UNTRUSTED
npm ERR! at SecurePair. (tls.js:1370:32)
npm ERR! at SecurePair.EventEmitter.emit (events.js:92:17)
npm ERR! at SecurePair.maybeInitFinished (tls.js:982:10)
npm ERR! at CleartextStream.read [as _read] (tls.js:469:13)
npm ERR! at CleartextStream.Readable.read (_stream_readable.js:320:10)
npm ERR! at EncryptedStream.write [as _write] (tls.js:366:25)
npm ERR! at doWrite (_stream_writable.js:223:10)
npm ERR! at writeOrBuffer (_stream_writable.js:213:5)
npm ERR! at EncryptedStream.Writable.write (_stream_writable.js:180:11)
npm ERR! at write (_stream_readable.js:583:24)
npm ERR! at flow (_stream_readable.js:592:7)
npm ERR! at Socket.pipeOnReadable (_stream_readable.js:624:5)
The text was updated successfully, but these errors were encountered: