isaacs/npmjs.org — Issue #41: using alpha-2 from npmjs.org/dist, fail to install dependences for express
Author: lorenjerickson
Created: 2011-11-23 21:53:21+00:00
State: open

After doing a global instal of express via npm and creating an express project, when trying to install dependencies for the project via 'npm install -d' in the project directory, I get the following error. I am using npm-1.1.0-alpha-2 from npmjs.org/dist.

C:\Users\#######\src\hg\projects\webstorm\xtrac\designjs>npm install -d
npm info it worked if it ends with ok
npm info using npm@1.1.0-alpha-2
npm info using node@v0.6.0
npm info preinstall application-name@0.0.1
npm info addNamed [ 'jade', '>= 0.0.1' ]
npm info addNamed [ 'express', '2.5.1' ]
npm info fetch http://registry.npmjs.org/express/-/express-2.5.1.tgz
npm info shasum 0644284c2c219264e2955fe94717ce7b462cd5d6
npm info shasum C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084061650-0.28072564606554806\tmp.tgz
npm info shasum 82c5b8e712233aab7135297841e1a2d7735dde9a
npm info shasum C:\Users\#######\npm-cache\express\2.5.1\package.tgz
npm info fetch http://registry.npmjs.org/jade/-/jade-0.18.0.tgz
npm info shasum d2c54075d41f1c6960b65aa4a0aefbc035275ea8
npm info shasum C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\tmp.tgz
npm ERR! error reading C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\package
npm ERR! couldn't pack C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\package to
C:\Users\#######\npm-cache\jade\0.18.0\package.tgz
npm ERR! Error: ENOENT, The operation completed successfully.
npm ERR! 'C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\package\support\stylus
\test\cases\re'
npm ERR! Report this *entire* 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:\\Users\\#######\\bin\\node\\\\node.exe" "C:\\Users\\#######\\bin\\node\\node_modules\\npm\\bin\\npm
-cli.js" "install" "-d"
npm ERR! cwd C:\Users\#######\src\hg\projects\webstorm\xtrac\designjs
npm ERR! node -v v0.6.0
npm ERR! npm -v 1.1.0-alpha-2
npm ERR! path C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\package\support\sty
lus\test\cases\re
npm ERR! fstream_path C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\package\sup
port\stylus\test\cases
npm ERR! fstream_type Directory
npm ERR! fstream_class DirReader
npm ERR! code ENOENT
npm ERR! message ENOENT, The operation completed successfully.
npm ERR! message 'C:\Users\#######\AppData\Local\Temp\npm-1322084061650\1322084063464-0.9859185996465385\package\suppor
t\stylus\test\cases\re'
npm ERR! fstream_stack Object.oncomplete (C:\Users\#######\bin\node\node_modules\npm\node_modules\fstream\lib\dir-reader
.js:74:23)
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\#######\src\hg\projects\webstorm\xtrac\designjs\npm-debug.log
npm not ok