npm ERR! Error: SSL Error: UNABLE_TO_VERIFY_LEA...

npm http GET https://registry.npmjs.org/express
npm ERR! Error: SSL Error: UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm ERR! at ClientRequest. (C:\Program Files\nodejs\node_modules\
npm\node_modules\request\main.js:525:26)
npm ERR! at ClientRequest.g (events.js:192:14)
npm ERR! at ClientRequest.EventEmitter.emit (events.js:96:17)
npm ERR! at HTTPParser.parserOnIncomingClient as onIncoming
npm ERR! at HTTPParser.parserOnHeadersComplete as onHeadersComplete
npm ERR! at CleartextStream.socketOnData as ondata
npm ERR! at CleartextStream.CryptoStream._push (tls.js:526:27)
npm ERR! at SecurePair.cycle (tls.js:880:20)
npm ERR! at EncryptedStream.CryptoStream.write (tls.js:267:13)
npm ERR! at Socket.ondata (stream.js:38:26)
npm ERR! If you need help, you may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! [email protected]

npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "-g" "install" "express"
npm ERR! cwd D:\
npm ERR! node -v v0.8.16
npm ERR! npm -v 1.1.69
npm ERR! code ESSL
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! D:\npm-debug.log
npm ERR! not ok code 0

--

This is probably an issue with the registry, but in the meantime you could try:

$ npm config set strict-ssl false

and see if that will get you around the problem for now. See:

http://thomashunter.name/blog/npm-ssl-errors/

你可能感兴趣的:(npm ERR! Error: SSL Error: UNABLE_TO_VERIFY_LEA...)