改變npm安裝路徑

npm config set registry="http://registry.npmjs.org/"

npm http GET https://registry.npmjs.org/mysqlnode

npm ERR! Error: SSL Error: SELF_SIGNED_CERT_IN_CHAINmysql

npm ERR!     at ClientRequest.<anonymous> (c:\Program Filesgit

dules\npm\node_modules\request\main.js:483:26)github

npm ERR!     at ClientRequest.emit (events.js:67:17)sql

npm ERR!     at HTTPParser.onIncoming (http.js:1261:11)npm

npm ERR!     at HTTPParser.onHeadersComplete (http.js:102:3this

npm ERR!     at CleartextStream.ondata (http.js:1150:24)google

npm ERR!     at CleartextStream._push (tls.js:375:27)debug

npm ERR!     at SecurePair.cycle (tls.js:734:20)code

npm ERR!     at EncryptedStream.write (tls.js:130:13)

npm ERR!     at Socket.ondata (stream.js:38:26)

npm ERR!     at Socket.emit (events.js:67:17)

npm ERR! You may report this log at:

npm ERR!     <http://github.com/isaacs/npm/issues>

npm ERR! or email it to:

npm ERR!     <npm-@googlegroups.com>

npm ERR!

npm ERR! System Windows_NT 6.1.7601

npm ERR! command "c:\\Program Files (x86)\\nodejs\\\\node.e

s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "insta

npm ERR! cwd c:\Program Files (x86)\nodejs

npm ERR! node -v v0.6.14

npm ERR! npm -v 1.1.12

npm ERR! message SSL Error: SELF_SIGNED_CERT_IN_CHAIN

npm ERR!

npm ERR! Additional logging details can be found in:

npm ERR!     c:\Program Files (x86)\nodejs\npm-debug.log

npm not ok

相關文章
相關標籤/搜索