1
安装Socket.io我得到的消息之下,而在Node.js的错误,同时通过NPM
安装Socket.ionpm install --save socket.io
gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: node-v0.10.35.tar.gz local checksum efd2c6bfd05834bca81175fa1b6374898c95c9e2a57597e6ac3a8594d37bc4a0 not match remote 0043656bb1724cb09dbdc960a2fd6ee37d3badb2f9c75562b2d11235daa40a03 gyp ERR! stack at deref (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:299:20) gyp ERR! stack at Request.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\node-gyp\lib\install.js:409:24) gyp ERR! stack at Request.emit (events.js:117:20) gyp ERR! stack at IncomingMessage.<anonymous> (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\request\request.js:1096:12) gyp ERR! stack at IncomingMessage.emit (events.js:117:20) gyp ERR! stack at _stream_readable.js:944:16 gyp ERR! stack at process._tickCallback (node.js:442:13) gyp ERR! System Windows_NT 6.1.7601 gyp ERR! command "node" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\ruchi data\My Programs\meanstack\socket\node_modules\socket.io\node_modules\engine.io\node_modules\ws gyp ERR! node -v v0.10.35 gyp ERR! node-gyp -v v1.0.1 gyp ERR! not ok
我能够安装它。你正在使用哪个操作系统? – facundofarias 2015-02-07 18:10:27
校验和不匹配。看起来像网络腐败。尝试再次安装,和/或清除[npm缓存](https://docs.npmjs.com/cli/cache) – laggingreflex 2015-02-07 18:13:58