I'm trying to migrate from npm to Yarn. When I tried to install dependencies through yarn, I'm getting this error.
unable to verify the first certificate
at Error (native)
at TLSSocket.<anonymous> (_tls_wrap.js:1055:38)
at emitNone (events.js:86:13)
at TLSSocket.emit (events.js:185:7)
at TLSSocket._finishInit (_tls_wrap.js:580:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:412:38)
Same works fine with npm. Tried setting proxy, didn't help.Is there any configuration I need to change?
question from:https://stackoverflow.com/questions/40033794/yarn-unable-to-verify-the-first-certificate