tarball data for ... seems to be corrupted. Trying one more time.

What I Wanted to Do

npm pack @tubes/app-spankwire@TUB-123 (this is my private package)

What Happened Instead

npm WARN tarball tarball data for @tubes/app-spankwire@TUB-123 (undefined) seems to be corrupted. Trying one more time.
npm WARN tarball tarball data for @tubes/app-spankwire@TUB-123 (undefined) seems to be corrupted. Trying one more time.
npm WARN tar zlib: unexpected end of file
npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! zlib: unexpected end of file

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/kroshilin/.npm/_logs/2019-03-28T11_10_40_284Z-debug.log

Reproduction Steps

npm pack @tubes/app-spankwire@TUB-123
It can not be reproduced every time. Sometimes i can not execute it for few hours.

Details

0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/local/bin/node’,
1 verbose cli ‘/usr/local/bin/npm’,
1 verbose cli ‘pack’,
1 verbose cli ‘@tubes/app-spankwire@TUB-123’ ]
2 info using npm@6.9.0
3 info using node@v10.9.0
4 verbose npm-session ee88eb5c64a5890b
5 http fetch GET 304 https://registry.npmjs.org/@tubes%2Fapp-spankwire 868ms (from cache)
6 silly pacote tag manifest for @tubes/app-spankwire@TUB-123 fetched in 925ms
7 silly tarball no local data for @tubes/app-spankwire@TUB-123. Extracting by manifest.
8 http fetch GET 304 https://registry.npmjs.org/@tubes%2Fapp-spankwire 541ms (from cache)
9 warn tarball tarball data for @tubes/app-spankwire@TUB-123 (undefined) seems to be corrupted. Trying one more time.
10 http fetch GET 200 https://registry.npmjs.org/@tubes/app-spankwire/-/app-spankwire-13.3.1-TUB-123-364bbf7c.0.tgz 55ms (from cache)
11 silly tarball no local data for @tubes/app-spankwire@TUB-123. Extracting by manifest.
12 http fetch GET 200 https://registry.npmjs.org/@tubes%2Fapp-spankwire 3460ms
13 warn tarball tarball data for @tubes/app-spankwire@TUB-123 (undefined) seems to be corrupted. Trying one more time.
14 http fetch GET 200 https://registry.npmjs.org/@tubes/app-spankwire/-/app-spankwire-13.3.1-TUB-123-364bbf7c.0.tgz 396ms (from cache)
15 warn tar zlib: unexpected end of file
16 verbose stack ZlibError: zlib: unexpected end of file
16 verbose stack at Zlib.(anonymous function).onerror (/usr/local/lib/node_modules/npm/node_modules/minizlib/index.js:131:21)
16 verbose stack at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/minizlib/index.js:255:31)
16 verbose stack at Unzip.flush (/usr/local/lib/node_modules/npm/node_modules/minizlib/index.js:222:10)
16 verbose stack at Unzip.end (/usr/local/lib/node_modules/npm/node_modules/minizlib/index.js:229:10)
16 verbose stack at Unpack.end (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:416:21)
16 verbose stack at PassThrough.onend (_stream_readable.js:628:10)
16 verbose stack at Object.onceWrapper (events.js:273:13)
16 verbose stack at PassThrough.emit (events.js:182:13)
16 verbose stack at endReadableNT (_stream_readable.js:1085:12)
16 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19)
17 verbose cwd /private/tmp
18 verbose Darwin 18.2.0
19 verbose argv “/usr/local/bin/node” “/usr/local/bin/npm” “pack” “@tubes/app-spankwire@TUB-123”
20 verbose node v10.9.0
21 verbose npm v6.9.0
22 error code Z_BUF_ERROR
23 error errno -5
24 error zlib: unexpected end of file
25 verbose exit [ -5, true ]

Platform Info

$ npm --versions
{ npm: '6.9.0',
  ares: '1.14.0',
  cldr: '33.1',
  http_parser: '2.8.0',
  icu: '62.1',
  modules: '64',
  napi: '3',
  nghttp2: '1.32.0',
  node: '10.9.0',
  openssl: '1.1.0i',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.22.0',
  v8: '6.8.275.24-node.14',
  zlib: '1.2.11' }
$ node -p process.platform
darwin

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.