isaacs/npm — Issue #2159: cannot install express with npm cmd
Author: SunshineLink
Created: 2012-02-15 03:51:47+00:00
State: open

C:\Users\XF>npm install -g express
npm http GET https://registry.npmjs.org/express
npm http 408 https://registry.npmjs.org/express
npm ERR! registry error parsing json
npm http GET https://registry.npmjs.org/connect
npm http GET https://registry.npmjs.org/mime/1.2.4
npm http GET https://registry.npmjs.org/qs
npm http GET https://registry.npmjs.org/mkdirp/0.3.0
npm http GET https://registry.npmjs.org/qs/-/qs-0.4.2.tgz
npm http 304 https://registry.npmjs.org/mkdirp/0.3.0
npm http 408 https://registry.npmjs.org/qs/-/qs-0.4.2.tgz
npm ERR! error installing express@2.5.8

npm ERR! Error: shasum check failed for C:\Users\XF\AppData\Local\Temp\npm-1329277329339\1329277329339-0.5711236358620226\tmp.tgz
npm ERR! Expected: 3cac4c861e371a8c9c4770ac23cda8de639b8e5f
npm ERR! Actual: a3920de4ba03316b05b8c94163ea39ba3db434cc
npm ERR! at C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\sha.js:25:20
npm ERR! at [object Object]. (C:\Program Files (x86)\nodejs\node_modules\npm\lib\utils\sha.js:49:5)
npm ERR! at [object Object].emit (events.js:64:17)
npm ERR! at afterRead (fs.js:1111:12)
npm ERR! at Object.wrapper [as oncomplete] (fs.js:254:17)
npm ERR! You may report this log at:
npm ERR!
npm ERR! or email it to:
npm ERR!
npm ERR!
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\
\npm-cli.js" "install" "express" "-g"
npm ERR! cwd C:\Users\XF
npm ERR! node -v v0.6.10
npm ERR! npm -v 1.1.0-3
npm ERR! message shasum check failed for C:\Users\XF\AppData\Local\Temp\npm-1329277329339\1329277329339-0.57112363586202
26\tmp.tgz
npm ERR! message Expected: 3cac4c861e371a8c9c4770ac23cda8de639b8e5f
npm ERR! message Actual: a3920de4ba03316b05b8c94163ea39ba3db434cc
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\XF\npm-debug.log
npm not ok