npm install eco 1.1.0-alpha-2 #1801

Closed
joesomoza opened this Issue Nov 28, 2011 · 3 comments

3 participants

@joesomoza

info it worked if it ends with ok
verbose cli [ 'C:\Program Files (x86)\nodejs\\node.exe',
verbose cli 'C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js',
verbose cli 'install',
verbose cli '-dd',
verbose cli '-g',
verbose cli 'eco' ]
info using npm@1.1.0-alpha-2
info using node@v0.6.3
verbose config file C:\drive\node.npmrc
verbose config file C:\Program Files (x86)\etc\npmrc
verbose config file C:\Program Files (x86)\nodejs\node_modules\npm\npmrc
verbose mkdir done: C:\Program Files (x86)\nodejs 755
verbose into C:\Program Files (x86)\nodejs [ 'eco' ]
verbose cache add eco
verbose cache add [ 'eco', null ]
silly cache add: name, spec, args [ undefined, 'eco', [ 'eco', null ] ]
verbose parsed url { pathname: 'eco', path: 'eco', href: 'eco' }
info addNamed [ 'eco', '' ]
verbose addNamed [ null, '' ]
verbose GET eco
verbose raw, before any munging eco
verbose url resolving [ 'https://registry.npmjs.org/', './eco' ]
verbose url resolved https://registry.npmjs.org/eco
verbose etag "CCDK41XD4MBOTQDBNM0XOC9F5"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"CCDK41XD4MBOTQDBNM0XOC9F5"',
silly get cb date: 'Mon, 28 Nov 2011 18:39:12 GMT',
silly get cb 'content-length': '0' } ]
verbose etag eco from cache
verbose mkdir done: C:\drive\node\npm-cache\eco 755
verbose GET eco/1.1.0-rc-1
verbose raw, before any munging eco/1.1.0-rc-1
verbose url resolving [ 'https://registry.npmjs.org/', './eco/1.1.0-rc-1' ]
verbose url resolved https://registry.npmjs.org/eco/1.1.0-rc-1
verbose etag "CCDK41XD4MBOTQDBNM0XOC9F5"
silly get cb [ 304,
silly get cb { server: 'CouchDB/1.1.0 (Erlang OTP/R14B04)',
silly get cb etag: '"CCDK41XD4MBOTQDBNM0XOC9F5"',
silly get cb date: 'Mon, 28 Nov 2011 18:39:13 GMT',
silly get cb 'content-length': '0' } ]
verbose etag eco/1.1.0-rc-1 from cache
verbose mkdir done: C:\drive\node\npm-cache\eco\1.1.0-rc-1 755
verbose bin dist [ '0.6-ares1.7.5-DEV-evundefined-openssl0.9.8r-v83.6.6.8-win32-ia32-6.1.7601',
verbose bin dist { shasum: '93dad03fc84affd3eff7d5d30bf68daafcd5e702',
verbose bin dist tarball: 'http://registry.npmjs.org/eco/-/eco-1.1.0-rc-1.tgz' } ]
verbose addRemoteTarball [ 'https://registry.npmjs.org/eco/-/eco-1.1.0-rc-1.tgz',
verbose addRemoteTarball '93dad03fc84affd3eff7d5d30bf68daafcd5e702' ]
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\drive\tmp\npm-1322505553203'
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993'
verbose mkdir done: C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993 755
info fetch https://registry.npmjs.org/eco/-/eco-1.1.0-rc-1.tgz
verbose fetch to C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993\tmp.tgz
verbose mkdir done: C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993 755
silly updated sha bytes 40960
silly updated sha bytes 40960
silly updated sha bytes 25000
info shasum 93dad03fc84affd3eff7d5d30bf68daafcd5e702
info shasum C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993\tmp.tgz
verbose mkdir (expected) error ENOENT, no such file or directory 'C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993___package.npm'
verbose mkdir done: C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993___package.npm 755
verbose unpack_ uid, gid [ undefined, undefined ]
verbose unpackTarget C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993\package
silly gunzTarPerm modes [ '755', '644' ]
ERR! Failed unpacking C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993\tmp.tgz
ERR! couldn't unpack C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993\tmp.tgz to C:\drive\tmp\npm-1322505553203\1322505553203-0.7161667002364993
ERR! Error: write() after end()
ERR! at decorate (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\fstream\lib\abstract.js:64:36)
ERR! at Extract.error (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\fstream\lib\abstract.js:58:12)
ERR! at Extract.write (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\tar\lib\parse.js:71:17)
ERR! at Unzip.ondata (stream.js:38:26)
ERR! at Unzip.emit (events.js:67:17)
ERR! at Object.callback (zlib.js:366:12)
ERR! Report this entire log at:
ERR! http://github.com/isaacs/npm/issues
ERR! or email it to:
ERR! npm-@googlegroups.com
ERR!
ERR! System Windows_NT 6.1.7601
ERR! command "C:\Program Files (x86)\nodejs\\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-dd" "-g" "eco"
ERR! cwd C:\drive\home
ERR! node -v v0.6.3
ERR! npm -v 1.1.0-alpha-2
ERR! fstream_class Extract
ERR! message write() after end()
ERR! fstream_stack Extract.write (C:\Program Files (x86)\nodejs\node_modules\npm\node_modules\tar\lib\parse.js:71:17)
ERR! fstream_stack Unzip.ondata (stream.js:38:26)
ERR! fstream_stack Unzip.emit (events.js:67:17)
ERR! fstream_stack Object.callback (zlib.js:366:12)
verbose exit [ 1, true ]

@indutny

Confirming this on osx and ometajs module: write() after end(), while npm can successfully install some other modules.

@isaacs
npm member

Fixed in latest alpha build. Will be included in node 0.6.4.

@isaacs isaacs closed this Dec 1, 2011
@isaacs
npm member

Whoops! spoke too soon! This is definitely reproducible on OS X, but not on windows any more.

Investigating.

@isaacs isaacs reopened this Dec 1, 2011
@isaacs isaacs added a commit to npm/node-tar that referenced this issue Dec 1, 2011
@isaacs isaacs Fix npm/npm#1801 Allow an arbitrary number of nulls at the end of a t…
…ar file
4b5525a
@isaacs isaacs added a commit that closed this issue Dec 1, 2011
@isaacs isaacs Fix #1801 Update tar to 0.1.7 04c84c1
@isaacs isaacs closed this in 04c84c1 Dec 1, 2011
This was referenced Dec 1, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment