0
我做的可能是最最基本的東西:無法安裝Socket.io
npm install socket.io
我得到的錯誤的巨量,從開始:
npm ERR! Error: Socket is not writable
npm ERR! at Socket._writeOut (net.js:391:11)
npm ERR! at Socket.write (net.js:377:17)
npm ERR! at Socket.<anonymous> (util.js:375:21)
npm ERR! at Socket.emit (events.js:64:17)
npm ERR! at Socket._onReadable (net.js:678:14)
npm ERR! at IOWatcher.onReadable [as callback] (net.js:177:10)
npm ERR! Report this *entire* log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR!
npm ERR! System Darwin 11.2.0
npm ERR! command "node" "/Users/shamoon/local/node/bin/npm" "install" "socket.io"
我沒有想法從哪裏開始修復它
您正在使用哪個版本的node.js? – Masiar