isaacs/npm — Issue #1919: NPM install alwarys Failed
Author: zjhiphop
Created: 2011-12-22 09:31:24+00:00
State: open

HI,
Today,i published a new package named : etpm
The address is http://search.npmjs.org/#/etpm.

When i try to install this package into my computer,it will alwarys occurs:
I use command "npm install -g etpm"
```javascript

info it worked if it ends with ok
verbose cli [ 'C:\\Program Files\\nodejs\\\\node.exe',
verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
verbose cli 'install',
verbose cli '-g',
verbose cli 'etpm' ]
info using npm@1.1.0-beta-4
info using node@v0.6.6
verbose config file C:\Users\jade.zhangjin\.npmrc
verbose config file C:\Program Files\nodejs\etc\npmrc
verbose config file C:\Program Files\nodejs\node_modules\npm\npmrc
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm 755
verbose into C:\Users\jade.zhangjin\AppData\Roaming\npm [ 'etpm' ]
verbose cache add etpm
verbose cache add [ 'etpm', null ]
silly cache add: name, spec, args [ undefined, 'etpm', [ 'etpm', null ] ]
verbose parsed url { pathname: 'etpm', path: 'etpm', href: 'etpm' }
verbose addNamed [ 'etpm', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'etpm', '', false ]
verbose raw, before any munging etpm
verbose url resolving [ 'https://registry.npmjs.org/', './etpm' ]
verbose url resolved https://registry.npmjs.org/etpm
verbose etag "54YVBCWRKDO7NV2IVHBDTRSMQ"
http GET https://registry.npmjs.org/etpm
http 304 https://registry.npmjs.org/etpm
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"54YVBCWRKDO7NV2IVHBDTRSMQ"',
silly get cb date: 'Thu, 22 Dec 2011 09:26:25 GMT',
silly get cb 'content-length': '0' } ]
verbose etag etpm from cache
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\etpm 755
silly name, range, hasData 2 [ 'etpm', '', true ]
silly versions [ 'etpm',
silly versions [ '0.1.0-dev', '0.1.1-dev', '0.1.2', '0.1.3', '0.1.4' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.14-win32-ia32-6.1.7600',
verbose bin dist { shasum: 'e130beacbf8cf520ab283c7577e14edd93320382',
verbose bin dist tarball: 'http://registry.npmjs.org/etpm/-/etpm-0.1.4.tgz' } ]
verbose caching C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\etpm\0.1.4\package\package.json
verbose loadDefaults etpm@0.1.4
silly resolved [ { name: 'etpm',
silly resolved version: '0.1.4',
silly resolved description: 'A Package Manager for ET',
silly resolved homepage: 'https://github.com/zjhiphop/etpm',
silly resolved keywords: [ 'etpm', 'module', 'package', 'optimization', 'tool' ],
silly resolved author: { name: 'Jade Zhang', email: 'zjhiphop@gmail.com' },
silly resolved contributors: [ { name: 'Jade Zhang', email: 'zjhiphop@gmail.com' } ],
silly resolved engines: { node: '>= 0.5.0 < 0.7.0' },
silly resolved dependencies: { mkdirp: '>=0.0.7', commander: '0.3.2' },
silly resolved devDependencies: { ejs: '*', jade: '*', stylus: '*', coffeekup: '*', less: '*' },
silly resolved repository: { type: 'git', url: 'git@github.com:zjhiphop/ETPM.git' },
silly resolved main: 'index',
silly resolved bin: { etpm: './bin/etpm' },
silly resolved preferGlobal: true,
silly resolved _npmUser: { name: 'zjhiphop', email: 'zjhiphop@gmail.com' },
silly resolved _id: 'etpm@0.1.4',
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.0-beta-4',
silly resolved _nodeVersion: 'v0.6.6',
silly resolved _defaultsLoaded: true,
silly resolved scripts: {} } ]
info into C:\Users\jade.zhangjin\AppData\Roaming\npm etpm@0.1.4
info installOne etpm@0.1.4
info unbuild C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\etpm\0.1.4\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\___etpm.npm'
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\___etpm.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\___etpm.npm\package
verbose rm'ed C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm
verbose renamed [ 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\___etpm.npm\\package',
verbose renamed 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm' ]
verbose caching C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\package.json
verbose loadDefaults etpm@0.1.4
info preinstall etpm@0.1.4
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\package.json
verbose into C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm [ 'mkdirp@>=0.0.7', 'commander@0.3.2' ]
verbose cache add commander@0.3.2
verbose cache add [ 'commander@0.3.2', null ]
silly cache add: name, spec, args [ undefined, 'commander@0.3.2', [ 'commander@0.3.2', null ] ]
verbose parsed url { pathname: 'commander@0.3.2',
verbose parsed url path: 'commander@0.3.2',
verbose parsed url href: 'commander@0.3.2' }
silly cache add: name, spec, args [ 'commander', '0.3.2', [ 'commander', '0.3.2' ] ]
verbose parsed url { pathname: '0.3.2', path: '0.3.2', href: '0.3.2' }
verbose addNamed [ 'commander', '0.3.2' ]
verbose addNamed [ '0.3.2', '0.3.2' ]
verbose cache add mkdirp@>=0.0.7
verbose cache add [ 'mkdirp@>=0.0.7', null ]
silly cache add: name, spec, args [ undefined, 'mkdirp@>=0.0.7', [ 'mkdirp@>=0.0.7', null ] ]
verbose parsed url { pathname: 'mkdirp@', path: 'mkdirp@', href: 'mkdirp@' }
silly cache add: name, spec, args [ 'mkdirp', '>=0.0.7', [ 'mkdirp', '>=0.0.7' ] ]
verbose parsed url { pathname: '=0.0.7', path: '=0.0.7', href: '=0.0.7' }
verbose addNamed [ 'mkdirp', '>=0.0.7' ]
verbose addNamed [ null, '>=0.0.7' ]
silly name, range, hasData [ 'mkdirp', '>=0.0.7', false ]
verbose raw, before any munging mkdirp
verbose url resolving [ 'https://registry.npmjs.org/', './mkdirp' ]
verbose url resolved https://registry.npmjs.org/mkdirp
verbose etag "5WHVNJ2FH3UOG2S579H43WUYT"
http GET https://registry.npmjs.org/mkdirp
verbose raw, before any munging commander/0.3.2
verbose url resolving [ 'https://registry.npmjs.org/', './commander/0.3.2' ]
verbose url resolved https://registry.npmjs.org/commander/0.3.2
verbose etag "AILSHOGYVMNNRLIFI57O7T9TT"
http GET https://registry.npmjs.org/commander/0.3.2
http 304 https://registry.npmjs.org/commander/0.3.2
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"AILSHOGYVMNNRLIFI57O7T9TT"',
silly get cb date: 'Thu, 22 Dec 2011 09:26:27 GMT',
silly get cb 'content-length': '0' } ]
verbose etag commander/0.3.2 from cache
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\commander\0.3.2 755
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.14-win32-ia32-6.1.7600',
verbose bin dist { shasum: '8a98a6b590d2abab04892739da8f8577da964961',
verbose bin dist tarball: 'http://registry.npmjs.org/commander/-/commander-0.3.2.tgz' } ]
verbose caching C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\commander\0.3.2\package\package.json
verbose loadDefaults commander@0.3.2
http 304 https://registry.npmjs.org/mkdirp
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"5WHVNJ2FH3UOG2S579H43WUYT"',
silly get cb date: 'Thu, 22 Dec 2011 09:26:27 GMT',
silly get cb 'content-length': '0' } ]
verbose etag mkdirp from cache
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\mkdirp 755
silly name, range, hasData 2 [ 'mkdirp', '>=0.0.7', true ]
silly versions [ 'mkdirp',
silly versions [ '0.0.1',
silly versions '0.0.2',
silly versions '0.0.3',
silly versions '0.0.4',
silly versions '0.0.5',
silly versions '0.0.6',
silly versions '0.0.7',
silly versions '0.1.0',
silly versions '0.2.0',
silly versions '0.2.1' ] ]
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.14-win32-ia32-6.1.7600',
verbose bin dist { shasum: '2ef920435c8511e135137a33f18a9e40cf9dd166',
verbose bin dist tarball: 'http://registry.npmjs.org/mkdirp/-/mkdirp-0.2.1.tgz' } ]
verbose caching C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\mkdirp\0.2.1\package\package.json
verbose loadDefaults mkdirp@0.2.1
silly resolved [ { name: 'commander',
silly resolved version: '0.3.2',
silly resolved description: 'the complete solution for node.js command-line programs',
silly resolved keywords: [ 'command', 'option', 'parser', 'prompt', 'stdin' ],
silly resolved author: { name: 'TJ Holowaychuk', email: 'tj@vision-media.ca' },
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/visionmedia/commander.js.git' },
silly resolved dependencies: {},
silly resolved devDependencies: { should: '>= 0.0.1' },
silly resolved main: 'index',
silly resolved engines: { node: '>= 0.4.x < 0.7.0' },
silly resolved _npmUser: { name: 'zjhiphop', email: 'zjhiphop@gmail.com' },
silly resolved _id: 'commander@0.3.2',
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.0-beta-4',
silly resolved _nodeVersion: 'v0.6.6',
silly resolved _defaultsLoaded: true,
silly resolved scripts: {} },
silly resolved { name: 'mkdirp',
silly resolved description: 'Recursively mkdir, like `mkdir -p`',
silly resolved version: '0.2.1',
silly resolved author:
silly resolved { name: 'James Halliday',
silly resolved email: 'mail@substack.net',
silly resolved url: 'http://substack.net' },
silly resolved main: './index',
silly resolved keywords: [ 'mkdir', 'directory' ],
silly resolved repository:
silly resolved { type: 'git',
silly resolved url: 'git://github.com/substack/node-mkdirp.git' },
silly resolved scripts: { test: 'tap test/*.js' },
silly resolved devDependencies: { tap: '0.0.x' },
silly resolved license: 'MIT/X11',
silly resolved engines: { node: '*' },
silly resolved _npmUser: { name: 'zjhiphop', email: 'zjhiphop@gmail.com' },
silly resolved _id: 'mkdirp@0.2.1',
silly resolved dependencies: {},
silly resolved _engineSupported: true,
silly resolved _npmVersion: '1.1.0-beta-4',
silly resolved _nodeVersion: 'v0.6.6',
silly resolved _defaultsLoaded: true } ]
info into C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm commander@0.3.2
info into C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm mkdirp@0.2.1
info installOne commander@0.3.2
info installOne mkdirp@0.2.1
info unbuild C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander
info unbuild C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\commander\0.3.2\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\___commander.npm'
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\___commander.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander
silly gunzTarPerm modes [ '755', '644' ]
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm-cache\mkdirp\0.2.1\package\package.json
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\___mkdirp.npm'
verbose mkdir done: C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\___mkdirp.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp
silly gunzTarPerm modes [ '755', '644' ]
silly afterUntar undefined
verbose gunzed C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\___commander.npm\package
verbose rm'ed C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander
verbose renamed [ 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm\\node_modules\\___commander.npm\\package',
verbose renamed 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm\\node_modules\\commander' ]
verbose caching C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander\package.json
verbose loadDefaults commander@0.3.2
info preinstall commander@0.3.2
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander\package.json
verbose into C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander []
silly resolved []
verbose about to build C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander
info build C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\commander\package.json
verbose linkStuff [ true,
verbose linkStuff 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules',
verbose linkStuff false,
verbose linkStuff 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm\\node_modules' ]
info linkStuff commander@0.3.2
verbose linkBins commander@0.3.2
verbose linkMans commander@0.3.2
verbose rebuildBundles commander@0.3.2
info install commander@0.3.2
info postinstall commander@0.3.2
verbose installOne cb commander@0.3.2
silly afterUntar undefined
verbose gunzed C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\___mkdirp.npm\package
verbose rm'ed C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp
verbose renamed [ 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm\\node_modules\\___mkdirp.npm\\package',
verbose renamed 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm\\node_modules\\mkdirp' ]
verbose caching C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp\package.json
verbose loadDefaults mkdirp@0.2.1
info preinstall mkdirp@0.2.1
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp\package.json
verbose into C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp []
silly resolved []
verbose about to build C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp
info build C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\node_modules\mkdirp\package.json
verbose linkStuff [ true,
verbose linkStuff 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules',
verbose linkStuff false,
verbose linkStuff 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules\\etpm\\node_modules' ]
info linkStuff mkdirp@0.2.1
verbose linkBins mkdirp@0.2.1
verbose linkMans mkdirp@0.2.1
verbose rebuildBundles mkdirp@0.2.1
info install mkdirp@0.2.1
info postinstall mkdirp@0.2.1
verbose installOne cb mkdirp@0.2.1
verbose about to build C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm
info build C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\package.json
verbose linkStuff [ true,
verbose linkStuff 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules',
verbose linkStuff true,
verbose linkStuff 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules' ]
info linkStuff etpm@0.1.4
verbose linkBins etpm@0.1.4
verbose bins linking [ { etpm: './bin/etpm' },
verbose bins linking 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm',
verbose bins linking true ]
verbose linkMans etpm@0.1.4
verbose rebuildBundles etpm@0.1.4
ERR! error installing etpm@0.1.4
info unbuild C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm
verbose from cache C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\package.json
info preuninstall etpm@0.1.4
verbose rebuildBundles [ 'commander', 'mkdirp' ]
info uninstall etpm@0.1.4
verbose unbuild etpm@0.1.4 [ true,
verbose unbuild etpm@0.1.4 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules',
verbose unbuild etpm@0.1.4 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm\\node_modules' ]
verbose binRoot [ 'C:\\Users\\jade.zhangjin\\AppData\\Roaming\\npm',
verbose binRoot { etpm: './bin/etpm' } ]
info postuninstall etpm@0.1.4
verbose installOne cb etpm@0.1.4
ERR! Error: ENOENT, no such file or directory 'C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\bin\etpm'
ERR! Report this *entire* log at:
ERR!
ERR! or email it to:
ERR!
ERR!
ERR! System Windows_NT 6.1.7600
ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "etpm"
ERR! cwd E:\EF_Work\ET-Refactor\ETPM
ERR! node -v v0.6.6
ERR! npm -v 1.1.0-beta-4
ERR! path C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\bin\etpm
ERR! code ENOENT
ERR! message ENOENT, no such file or directory 'C:\Users\jade.zhangjin\AppData\Roaming\npm\node_modules\etpm\bin\etpm'
verbose exit [ 1, true ]

```

So do u have solutions for this issue?

Thanks!