MAC中的Redis_Proxy安装错误

时间:2014-01-15 04:34:16

标签: redis haproxy node-redis

我无法在Mac Mini中安装redis代理。我收到以下错误消息。 服务器:$ sudo npm install -g redis-proxy

npm http GET https://registry.npmjs.org/redis-proxy
npm http GET https://registry.npmjs.org/redis-proxy
npm http GET https://registry.npmjs.org/redis-proxy
npm ERR! Error: socket hang up
npm ERR! at SecurePair.error (tls.js:927:23)
npm ERR! at EncryptedStream.CryptoStream.done (tls.js:625:22)
npm ERR! at CleartextStream.read as _read
npm ERR! at CleartextStream.Readable.read (stream_readable.js:304:10)
npm ERR! at EncryptedStream.onCryptoStreamFinish (tls.js:292:47)
npm ERR! at EncryptedStream.g (events.js:175:14)
npm ERR! at EncryptedStream.EventEmitter.emit (events.js:117:20)
npm ERR! at finishMaybe (streamwritable.js:344:12)
npm ERR! at endWritable (streamwritable.js:351:3)
npm ERR! at EncryptedStream.Writable.end (streamwritable.js:329:5)
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! npm-@googlegroups.com

1 个答案:

答案 0 :(得分:2)

想要将npmjs网址更改为GET http://registry.npmjs.org/redis-proxy